RE: Mysterious g++ link problems

2005-07-13 Thread Gary R. Van Sickle
[snip] > > Looks like a clash between the two compilers. COMPILER FIGHT! ;-) -- Gary R. Van Sickle -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Re: Mysterious g++ link problems

2005-07-13 Thread David Abrahams
"Gerrit P. Haase" <[EMAIL PROTECTED]> writes: > Try `/usr/local/gcc-3.4.4/bin/g++.exe -print-search-dirs` or > `/usr/local/gcc-3.4.4/bin/gcc -print-search-dirs`, this gives for > the Cygwin release: libraries: =/usr/lib/gcc/i686-pc-cygwin/3.4.4/:... I figured out the problem, thanks: http://lis

Re: Mysterious g++ link problems

2005-07-13 Thread David Abrahams
"Dave Korn" <[EMAIL PROTECTED]> writes: > Original Message >>From: David Abrahams >>Sent: 13 July 2005 14:51 > >> Here are the symptoms. > >> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(eh_terminate.o):: undefined >> reference to `___w32_sharedptr_terminate' > >> This compiler was config

Re: Mysterious g++ link problems

2005-07-13 Thread Gerrit P. Haase
David Abrahams wrote: You are using the wrong libstdc++.a runtime. Try to figure out why /usr/local/gcc is using /usr/lib/gcc runtime instead of your own /usr/local/lib/gcc runtime. I'm not using /usr/local/gcc. I assume you meant /usr/local/gcc=3.4.4/bin/g++? Yes. You're calling /usr/l

RE: Mysterious g++ link problems

2005-07-13 Thread Dave Korn
Original Message >From: David Abrahams >Sent: 13 July 2005 15:18 > I'm not using /usr/local/gcc. I assume you meant > /usr/local/gcc=3.4.4/bin/g++? > > I'd like to try to "figure out why," but I don't know where to start > looking. Add "-v" to the command line to see exactly how all

Re: Mysterious g++ link problems

2005-07-13 Thread David Abrahams
"Gerrit P. Haase" <[EMAIL PROTECTED]> writes: > David Abrahams wrote: > >> Here are the symptoms. >> "/usr/local/gcc-3.4.4/bin/g++.exe" -Wall -ftemplate-depth-100 >> -O0 -fno-inline -g -DBOOST_ALL_NO_LIB=1 -I"..\..\.." -c -o >> "..\..\..\bin.v2\libs\parameter\test\sfinae.test\gcc-3.4.4\de

Re: Mysterious g++ link problems

2005-07-13 Thread Gerrit P. Haase
David Abrahams wrote: Here are the symptoms. "/usr/local/gcc-3.4.4/bin/g++.exe" -Wall -ftemplate-depth-100 -O0 -fno-inline -g -DBOOST_ALL_NO_LIB=1 -I"..\..\.." -c -o "..\..\..\bin.v2\libs\parameter\test\sfinae.test\gcc-3.4.4\debug\sfinae.o" "sfinae.cpp" "/usr/local/gcc-3.4.4/bi

RE: Mysterious g++ link problems

2005-07-13 Thread Dave Korn
Original Message >From: David Abrahams >Sent: 13 July 2005 14:51 > Here are the symptoms. > /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(eh_terminate.o):: undefined > reference to `___w32_sharedptr_terminate' > This compiler was configured built and installed by me with > --prefix=/usr/

Mysterious g++ link problems

2005-07-13 Thread David Abrahams
Here are the symptoms. "/usr/local/gcc-3.4.4/bin/g++.exe" -Wall -ftemplate-depth-100 -O0 -fno-inline -g -DBOOST_ALL_NO_LIB=1 -I"..\..\.." -c -o "..\..\..\bin.v2\libs\parameter\test\sfinae.test\gcc-3.4.4\debug\sfinae.o" "sfinae.cpp" "/usr/local/gcc-3.4.4/bin/g++.exe" -o ".