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

