delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/12/18/01:10:15

From: colin AT bird DOT fu DOT is DOT saga-u DOT ac DOT jp (Colin Peters)
Subject: Re: more information on my problem
18 Dec 1997 01:10:15 -0800 :
Message-ID: <01bd0b70$cbc57500$fa173185.cygnus.gnu-win32@gbird0.fu.is.saga-u.ac.jp>
Reply-To: "Colin Peters" <colin AT bird DOT fu DOT is DOT saga-u DOT ac DOT jp>
Mime-Version: 1.0
To: "=?iso-8859-1?Q?Kurt_H=E4usler?=" <turtill AT ihug DOT co DOT nz>
Cc: "GNU-Win32" <gnu-win32 AT cygnus DOT com>

From: Colin Peters <colin AT bird DOT fu DOT is DOT saga-u DOT ac DOT jp>
To: Kurt H?sler <turtill AT ihug DOT co DOT nz>
Cc: GNU-Win32 <gnu-win32 AT cygnus DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019