Not that we need winewrap to port a windows apps to linux under mingw so I guess it could just be removed from the build process.
gcc -D__MINGW__ -D_WINDOWS -DWINE_NOWINSOCK -Wall -mpreferred-stack-boundary=2 -o mingwrap mingwrap.o gcc -c -I. -I. -I../include -I../include -D__MINGW__ -D_WINDOWS -DWINE_NOWINSOC K -Wall -mpreferred-stack-boundary=2 -DNO_LIBWINE -DLEX_OUTPUT_ROOT=""lex.yy" " -DINCLUDEDIR=""/usr/local/include/wine"" -D_REENTRANT -o winewrap.o winewrap .c winewrap.c:28:22: sys/wait.h: No such file or directory winewrap.c: In function `spawn': winewrap.c:122: warning: implicit declaration of function `fork' winewrap.c:123: warning: implicit declaration of function `wait' winewrap.c:125: warning: implicit declaration of function `WEXITSTATUS' winewrap.c: In function `main': winewrap.c:258: `S_IRGRP' undeclared (first use in this function) winewrap.c:258: (Each undeclared identifier is reported only once winewrap.c:258: for each function it appears in.) winewrap.c:258: `S_IXGRP' undeclared (first use in this function) winewrap.c:258: `S_IROTH' undeclared (first use in this function) winewrap.c:258: `S_IXOTH' undeclared (first use in this function) make[1]: *** [winewrap.o] Error 1 make[1]: Leaving directory `/g/src/wine-dev/wine/tools' make: *** [tools] Error 2
__________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
On December 13, 2002 11:44 am, Steven Edwards wrote:
Not that we need winewrap to port a windows apps to linux under mingw so I guess it could just be removed from the build process.
Just put the spawn code within a
#ifndef __MINGW__ ...my Unix code... #else ...call CreateProcess... #endif
I can't test it myself, so if you can do the patch I'd appreciate it.
--- "Dimitrie O. Paun" dpaun@rogers.com wrote:
Just put the spawn code within a
#ifndef __MINGW__ ...my Unix code... #else ...call CreateProcess... #endif
I can't test it myself, so if you can do the patch I'd appreciate it.
No problem, I will give it a shot tonight. If I can get it working then mabey I can figure out how to fix fork() in shellexec to use CreateProcess also.
Thanks Steven
__________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com