Hola, I'm on the road traveling till Monday so I sent the question here rather then cygwin support because I figured someone here has to have a little cygwin and mingw experience.
I'm using cygwin to host my mingw WINE devel with --target=mingw --host-mingw --build=mingw -mno-cygwin and -fnative-struct and it is still linking to cygwin1.dll. I don't really understand whats going on because it doesn't seem to be using any of the exports from cygwin1.dll but if I try to test the dlls/programs/tools on another box it bitches about missing the dll.
If anyone has any insight please let me know or just send this to /dev/null
Thanks Steven
"Every revolution was once a thought in one man's mind" - Ralph Waldo Emerson
Did you try asking to cygwin people ?
--- Steven Edwards Steven_Ed4153@yahoo.com a écrit : > Hola,
I'm on the road traveling till Monday so I sent the question here rather then cygwin support because I figured someone here has to have a little cygwin and mingw experience.
I'm using cygwin to host my mingw WINE devel with --target=mingw --host-mingw --build=mingw -mno-cygwin and -fnative-struct and it is still linking to cygwin1.dll. I don't really understand whats going on because it doesn't seem to be using any of the exports from cygwin1.dll but if I try to test the dlls/programs/tools on another box it bitches about missing the dll.
If anyone has any insight please let me know or just send this to /dev/null
Thanks Steven
"Every revolution was once a thought in one man's mind"
- Ralph Waldo Emerson
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
--- Steven Edwards Steven_Ed4153@yahoo.com wrote: [skip]
I'm using cygwin to host my mingw WINE devel with --target=mingw --host-mingw --build=mingw -mno-cygwin and -fnative-struct and it is still linking to cygwin1.dll. I don't really understand whats going on because it doesn't seem to be using any of the exports from cygwin1.dll but if I try to test the dlls/programs/tools on another box it bitches about missing the dll.
Linking with only -mno-cygwin option works for me to compile an app on Windows, like:
gcc -mno-cygwin $1.o -o $1.exe
This is with cygwin toolchain. Not sure if it helps.
Andriy
__________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
Linking with only -mno-cygwin option works for me to compile an app on Windows, like:
gcc -mno-cygwin $1.o -o $1.exe
I found the problem. It seems that some file, either a import lib or something else is causing the linkage to cygwin1.dll. Once it happens in one place you are SOL for the rest of the build as you cannot linking to cygwin1.dll and msvcrt.dll. Using MSYS for a mingw build/target now works exacltly the same as cygwin except for not being dependant on a emulated enviroment.
As far as WINE is concerned I dont think we should try to support MINGW under cygwin and just stick to cygwin on cygwin and Mingw on MSYS.
Thanks Steven
__________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com