lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
***BOGO*** Re: [Mingw-users] STLport build
- Date: Sun, 06 Jul 2008 15:10:41 +0200
- From: François Dumont <francois.cppdevs@xxxxxxx>
- Subject: ***BOGO*** Re: [Mingw-users] STLport build
Is there no one knowing if MinGW portage of gcc/ld support
--whole-archive/--no-whole-archive option ?
Thanks
François Dumont wrote:
> Hi
>
> I finally successfully built STLport the way I wanted it to be built
> with the following link command:
> c++ -Wall -Wsign-promo -Wcast-qual -fexceptions -mthreads -g
> -DWINVER=0x0501 -D_DEBUG -I../../stlport -shared
> -Wl,--out-implib=obj/gcc/so_g/libstlportg.5.2.dll.a -nodefaultlibs -o
> obj/gcc/so_g/libstlportg.5.2.dll obj/gcc/so_g/dll_main.o
> obj/gcc/so_g/fstream.o obj/gcc/so_g/strstream.o obj/gcc/so_g/sstream.o
> obj/gcc/so_g/ios.o obj/gcc/so_g/stdio_streambuf.o obj/gcc/so_g/istream.o
> obj/gcc/so_g/ostream.o obj/gcc/so_g/iostream.o obj/gcc/so_g/codecvt.o
> obj/gcc/so_g/collate.o obj/gcc/so_g/ctype.o obj/gcc/so_g/monetary.o
> obj/gcc/so_g/num_get.o obj/gcc/so_g/num_put.o
> obj/gcc/so_g/num_get_float.o obj/gcc/so_g/num_put_float.o
> obj/gcc/so_g/numpunct.o obj/gcc/so_g/time_facets.o
> obj/gcc/so_g/messages.o obj/gcc/so_g/locale.o obj/gcc/so_g/locale_impl.o
> obj/gcc/so_g/locale_catalog.o obj/gcc/so_g/facets_byname.o
> obj/gcc/so_g/complex.o obj/gcc/so_g/complex_io.o
> obj/gcc/so_g/complex_trig.o obj/gcc/so_g/string.o obj/gcc/so_g/bitset.o
> obj/gcc/so_g/allocators.o obj/gcc/so_g/c_locale.o obj/gcc/so_g/cxa.o
> obj/gcc/so_g/stlport.res -Wl,-whole-archive -lsupc++
> -Wl,-no-whole-archive -lgcc -lm -lmoldname -lmingw32 -lmingwex -lmsvcrt
> -lkernel32
>
> However I am still experimenting an issue. Despite I used
> -Wl,-whole-archive when linking libsupc++ I still have to specify it
> when linking an exec using STLport. Is this linker option not supported
> when using MinGW ? An other problem that I was expecting is that when
> running STLport unit tests each time an exception is thrown the
> application stop signaling it. As exception support been restored in
> latest experimental package ?
>
> For your info I am using gcc 4.2.1 from an old experimental package
> granted on MinGW souceforge download page, I will try latest
> experimental package tomorrow.
>
> Bests
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
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