Building for cygwin/win32 under Linux

Brian Dessent brian@dessent.net
Tue Nov 25 09:14:00 GMT 2008


Rich Simonis wrote:

> I don't know if I'm missing another include directive or a compiler switch, or
> just if my assumption that I can use the Linux g++ to cross-compile to Win32 is
> wrong.

Your assumption is wrong.  You need to build an actual cross-compiler
(and cross-assembler, cross-linker), not just point a linux compiler at
Cygwin headers.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list