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: more information on my problem


From: Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
To: Kurt H?sler <turtill@ihug.co.nz>
Cc: GNU-Win32 <gnu-win32@cygnus.com>
Date: Thursday, December 18, 1997 1:18 PM
Subject: Re: more information on my problem

[snip]
>gcc -o hellowin.exe hellowin.c -mwindows
>
>Should also work (and I think that is also mentioned in the FAQ). Feel
>free to ask if you have more problems.


Actually that won't work (sorry). -mwindows can only be used as an option
for linking, so you have to do it in two steps if you want to do it that
way:

gcc -o hellowin.o hellowin.c
gcc -o hellowin.exe hellowin.o -mwindows

That should work.

Sorry about that,
Colin.

-- Colin Peters -- colin at fu.is.saga-u.ac.jp
-- Saga University Dept. of Information Science
-- http://www.fu.is.saga-u.ac.jp/~colin
-- http://www.geocities.com/Tokyo/Towers/6162


-
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]