This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


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

Re: first time compiling windows app with gcc


Sorry for the wrong advice.  I was at work and was giving the example from
memory.  As already stated by someone Colin Peters, it should be:

gcc -o hellowin.exe hellowin.c -Wl,--subsystem,windows -luser32 ...

Sorry for the mistakes.

Josh

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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