delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/24/08:15:29

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <430C64CA.5000809@byu.net>
Date: Wed, 24 Aug 2005 06:15:06 -0600
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: =?ISO-8859-1?Q?Ren=E9_Berber?= <rberber AT prodigy DOT net DOT mx>
CC: cygwin AT cygwin DOT com
Subject: Re: Cygwin gcc and g90 compilers...
References: <81E351B0A0921C4DB6A3A1EF352726A76AC2C2 AT server DOT eegsa DOT corp> <deg94q$l8p$1 AT sea DOT gmane DOT org>
In-Reply-To: <deg94q$l8p$1@sea.gmane.org>
X-IsSubscribed: yes

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to René Berber on 8/23/2005 4:48 PM:
> First, the line above should be written like:
> 
>    make -f gcc-mingw.mak "CXXFLAGS_COMMON=-mno-cygwin -I/usr/include/mingw"
> 
> A space between -f and the makefile name.

Actually, make, like any other program that uses getopt(), recognizes
non-optional arguments without the space (it's just that POSIX says that
portable applications should use the space):

$ echo 'all:
	echo hi
' > baz
$ make -fbaz
echo hi
hi
$

In other words, these four spellings are synonyms, although a script that
is portable to POSIX rules would only use the second:
make -ffoo
make -f foo
make --file foo
make --file=foo

- --
Life is short - so eat dessert first!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDDGTJ84KuGfSFAYARAoMEAKCKlWVAgWy3/H4egeR7+NgvaTBWiwCfZDW7
Aavdcw1ABNVRRqlUw7t99I4=
=auG7
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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