|
Boost Users : |
From: J.Flenter (yg-boost-users_at_[hidden])
Date: 2002-07-10 11:37:18
Hi,
I'm trying to compile boost with gcc (the version currently distributed with
cygwin: 2.95.3-5 and not the pre-release version 3.1.1) but when I run bjam
with either -sTOOLS=gcc-stlport or sTOOLS=gcc I get an error:
gcc-Link-action actions too long (max 1023):
g++ -Wl,--export-all-symbols -Wl,--exclude-symbols,_bss_end__:_bss_start__:
_data_end__:_data_start__ -Wl,--out-implib,libs\regex\build\bin\boost_regex.
dll\
gcc-stlport\debug\runtime-link-dynamic\boost_regex.lib -g -shared -o
"libs\reg
ex\build\bin\boost_regex.dll\gcc-stlport\debug\runtime-link-dynamic\boost_re
gex.
dll"
"libs\regex\build\bin\boost_regex.dll\gcc-stlport\debug\runtime-link-dyn
amic\c_regex_traits.obj"
"libs\regex\build\bin\boost_regex.dll\gcc-stlport\debug
\runtime-link-dynamic\c_regex_traits_common.obj"
"libs\regex\build\bin\boost_reg
ex.dll\gcc-stlport\debug\runtime-link-dynamic\cpp_regex_traits.obj"
"libs\regex\
build\bin\boost_regex.dll\gcc-stlport\debug\runtime-link-dynamic\cregex.obj"
"li
bs\regex\build\bin\boost_regex.dll\gcc-stlport\debug\runtime-link-dynamic\fi
leit
er.obj"
"libs\regex\build\bin\boost_regex.dll\gcc-stlport\debug\runtime-link-dyn
amic\posix_api.obj"
"libs\regex\build\bin\boost_regex.dll\gcc-stlport\debug\runt
ime-link-dynamic\regex.obj"
"libs\regex\build\bin\boost_regex.dll\gcc-stlport\de
bug\runtime-link-dynamic\regex_debug.obj"
"libs\regex\build\bin\boost_regex.dll\
gcc-stlport\debug\runtime-link-dynamic\regex_synch.obj"
"libs\regex\build\bin\bo
ost_regex.dll\gcc-stlport\debug\runtime-link-dynamic\w32_regex_traits.obj"
"libs
\regex\build\bin\boost_regex.dll\gcc-stlport\debug\runtime-link-dynamic\wide
_pos
ix_api.obj"
"libs\regex\build\bin\boost_regex.dll\gcc-stlport\debug\runtime-link
-dynamic\instances.obj"
"libs\regex\build\bin\boost_regex.dll\gcc-stlport\debug\
runtime-link-dynamic\winstances.obj" -lstlport_cygwin_stldebug
Am I doing something wrong?
Some may have noticed that I have already posted something on this
newsgroup, for which I already had a working version of boost, that's true.
Unfortunately I ran in some problems using inherited classes and I found on
the internet some bug reports on the Visual Studio 6.0 and the error: error
C2275: 'referenceCounter' : illegal use of this type as an expression, this
happens at the line
linkedList_class.declare_base(referenceCounter);
That is the reason why I switched to GCC. However, any help would be
appreciated.
Jacco Flenter
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net