Hi, On Mon, Apr 23, 2012 at 3:56 PM, Michel Bardiaux wrote: > [snip] > >> That is the "general solution". The error message was appropriate and gave >> a clue. Beyond that >> you'll need to communicate a patch to the maintainers of the package that is >> still using -mno-cygwin. > > Let me rephrase. > > gcc-3 -mno-cygwin -o foo.exe foo.c > > under cygwin, works to create a windows executable that does not reference > the cygwin dlls. (provided of course that foo.c does not call any APIs that > can only be provided by cygwin, like fork). That *was* a general solution. > > What is the equivalent using gcc-4 under cygwin? >
i686-pc-mingw32-gcc -o foo.exe foo.c Csaba -- GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ The Tao of math: The numbers you can count are not the real numbers. Life is complex, with real and imaginary parts. "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds "People disagree with me. I just ignore them." -- Linus Torvalds -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

