lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
***BOGO*** Re: [Mingw-users] Why does g++ not link with libstdc++?
- Date: Wed, 14 May 2008 15:00:58 +0800
- From: "fiveight" <fiveight@xxxxxxx>
- Subject: ***BOGO*** Re: [Mingw-users] Why does g++ not link with libstdc++?
Thank you very much, DaveK.
I decide to add "-lstdc++" manually with g++.exe.
I think g++.exe should automatic link with stdc++ library whether there are object files in command line. Is this a bug?
> Well, or you could just manually add '-lstdc++' to your link lines (or
> perhaps even to the response file, depending what else uses it - I think ld
> will be happy with -l options in there) or maybe you could just have a
> completely empty dummy .o file (try "gcc -c -xc - < /dev/null -o dummy.o" to
> see what I mean) that you give to g++ but it doesn't get used so it doesn't
> matter if it's not in the response file?
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users