delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/06/06/05:09:18

From: rrankin AT primenet DOT com (Rick Rankin)
Subject: RE: -mwindows option
6 Jun 1998 05:09:18 -0700 :
Message-ID: <000701bd910e$d4066340$9a1e01aa.cygnus.gnu-win32@rankin-isdn-ws2.sat.mot.com>
References: <003201bd901e$d9d6e600$fa173185 AT gbird0 DOT fu DOT is DOT saga-u DOT ac DOT jp>
Mime-Version: 1.0
To: "Colin Peters" <colin AT fu DOT is DOT saga-u DOT ac DOT jp>,
"Ucok Freddy M." <ucokfm AT indosat DOT co DOT id>, <gnu-win32 AT cygnus DOT com>

> You should only use -mwindows at the linking stage, the compiler doesn't
> understand it. In other words:
>   gcc -o foo.exe foo.o bar.o -mwindows
> is fine, but
>   gcc -o foo.exe foo.c bar.c -mwindows
> or
>   gcc -c -o foo.o foo.c -mwindows
> are not.
>

I can certainly deal with that, but at best it seems inconsistent IMHO. It
seem to the that the compiler driver program (i.e., gcc) should be smart
enough to know which options to pass to which phase.

Rick

-
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