[Darwine] Re: Simple HelloWorld App using winegcc on darwin
Status: Pre-Alpha
Brought to you by:
jimwhite
From: Sanjay C. <sjc...@ma...> - 2004-06-24 15:38:44
|
Jeff, Your helloworldapp runs successfully, which is a good sign. A bug that came up however is that I had to add another /tmp/.wine-sjc/server**** directory even though I already had one present. Newho so that is good news. I took a slightly different approach, and used the commands you sent as follows: gcc -c -I. -I/usr/include/wine -I/sw/include -ffixed-r13 -no-cpp-precomp -Dsocklen_t=u_int32_t -D__powerpc__ -fpermissive -fno-for-scope -D_REENTRANT -o main.o main.c /usr/local/bin/winebuild -o helloworld.exe.dbg.c --debug -C. main.c main.c gcc -c -I. -I/usr/include/wine -I/sw/include -ffixed-r13 -no-cpp-precomp -Dsocklen_t=u_int32_t -D__powerpc__ -fpermissive -fno-for-scope -D_REENTRANT -o helloworld.exe.dbg.o helloworld.exe.dbg.c /usr/local/bin/winegcc -B/usr/local/bin/winebuild -mwindows main.o helloworld.exe.dbg.o -o helloworld.exe.so -L/usr/local/lib/wine -luser32 -lgdi32 -ladvapi32 -lkernel32 -L/usr/local/lib -lwine -lwine_port -lpoll this resulted in the error: winegcc: winebuild failed. so then I went to see why winebuild was failing. /usr/local/bin/winebuild -mwindows main.o helloworld.exe.dbg.o -o helloworld.exe.so -L/usr/local/lib/wine -luser32 -lgdi32 -ladvapi32 -lkernel32 -L/usr/local/lib -lwine -lpoll and winebuild: could not open .def file for wine so I cp'ed wine.def to /usr/local/lib and winebuild still failed so I changed wine.def to libwine.def and then winebuild: could not open .def file for poll and since poll is a native library it does not have it's own .def file (least I couldn't find one), so just to see what would happen i removed the -lpoll and winebuild just fails not doing anything coming up with the options information display no matter what commands are entered. I will recompile the wine source soon so I can begin investigating from there. ~Sanjay |