Web lists-archives.org

Re: [Mingw-users] GCC 4.3.0 20080502 (alpha) Released - Please help us test it!




Quoting Chris Sutcliffe <ir0nh34d@xxxxxxxxx>:

> c:/mingw4/bin/../lib/gcc/mingw32/4.3.0/libstdc++.a(eh_throw.o):(.text+0x0):
> multiple definition of `___cxa_rethrow'
> c:/mingw4/bin/../lib/gcc/mingw32/4.3.0/libstdc++_s.a(d003690.o):(.text+0x0):
> first defined here
> collect2: ld returned 1 exit status
>
> My code compiles fine if I drop the '-lstdc++_s' link library.
>

This would be because the specs file isn't conditionally adding 
-lstdc++; i.e. it adds -lstdc++ without regard to other libraries on 
the line.

Earnie

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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