STLPort 5.1 and winegcc / winelib

gendo at cox.net gendo at cox.net
Mon Dec 18 16:56:18 CST 2006


I was wondering if anyone had tried STLPort 5 with winelib. From searching the archives it seems you need to swap out gcc/c++ for winegcc/wineg++ and pass the -mno-cygwin option. Doing that gives me these errors. 

make -f gcc.mak all

wineg++ -pthread -mno-cygwin -fexceptions -fident  -fPIC -O2 -fuse-cxa-atexit  -D_REENTRANT -D_GNU_SOURCE -I../../stlport  -c -o obj/gcc/so/dll_main.o ../../src/dll_main.cpp
/usr/include/../include/stdlib.h:469: error: expected ‘;’ before ‘*’ token
/usr/include/../include/stdlib.h:470: error: expected ‘;’ before ‘*’ token
/usr/include/../include/stdlib.h:471: error: expected ‘;’ before ‘*’ token
/usr/include/../include/stdlib.h:475: error: expected ‘;’ before ‘*’ token
/usr/include/../include/stdlib.h:479: error: ‘int32_t’ has not been declared
winegcc: g++ failed.
make: *** [obj/gcc/so/dll_main.o] Error 2

Anyway these are probably from grabbing the system headers which I have read you should not have happen, but if I try to use a -isystem/usr/include/wine/msvcrt or -Isystem/usr/include/wine/msvcrt and -nostdinc++ you then get tons of errors about the stl headers missing exception, cstring, etc. I was wondering if anyone had any thoughts or ideas on how to get this compiled so it is usable is porting applications.

Thanks



More information about the wine-devel mailing list