This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to generate a standalone windows executable from gcc on cygwin?


none <lewisstiller at yahoo dot com> writes:

> I am using gcc 3.2 20020927 on Cygwin on Win2K
> (actually g++). The code uses only standard file I/O
> in stdio.h and some other C standard libraries. How do
> I generate a standalone executable that would run on
> someone else's Win XP system who does not have cygwin
> installed himself?

try passing --mno-cygwin to the compiler and linker or just go to
www.ming.org and download a gcc that always produces native win32
applications.

-- 
Oscar


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]