delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/18/10:15:54

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Subject: Re: -mnocygwin
To: cygwin AT sources DOT redhat DOT com
From: "Joerg Schaible" <joerg DOT schaible AT db DOT com>
Date: Tue, 18 Jul 2000 15:13:57 +0000
Message-ID: <OF668DA5BD.05AAAA21-ON00256920.005338E7@srv.uk.deuba.com>
X-MIMETrack: Serialize by Router on sdbo1003/DMGUK/DeuBaInt/DeuBa(Release 5.0.4 |June 8, 2000) at
18/07/2000 03:14:01 PM
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id KAA18005


... but you may simplify the process by providing a proper input file:

---- start of gcc.input.txt ---
y
y
y
/usr/include
/usr/local/include

y
2
--- end of gcc.input.txt ---

% gcc foo.c < gcc.input.txt

I really appreciate this clean command line now

Jörg

---------------------------------------- Message History ----------------------------------------


From: cgf AT cygnus DOT com on 18/07/2000 14:03

Please respond to cygwin AT sources DOT redhat DOT com

To:   cygwin AT sources DOT redhat DOT com
cc:
Subject:  Re: -mnocygwin



On Tue, Jul 18, 2000 at 06:52:18AM -0700, Bobby McNulty Junior wrote:
>Is -mno-cygwin still there?
>I read somewhere that it was suppossed to be taken
>out. This was back when i was under sherlock_abc AT netzero DOT net.

Yep.  We removed -mno-cygwin along with the "-g", "-O", and "-I"
and all of the other options.

They were all just cluttering up the gcc command line, making it
hard to understand what is going on.

Now, gcc just prompts you for all of its options, i.e.

% gcc foo.c
gcc: do you want to produce an object file (formerly -c)? y
gcc: do you want to add debugging information (formerly -g)? y
gcc: do you want to produce an object file that does not rely o \
the cygwin dll (formerly -mno-cygwin)? y
gcc: enter any directories that you would like to search for include \
files (Press enter when done): /usr/include
gcc: enter any directories that you would like to search for include \
files (Press enter when done): /usr/local/include
gcc: enter any directories that you would like to search for include \
files (Press enter when done):
gcc: would you like to optimize the compiled code (formerly -O)? y
gcc: enter the level of optimization required: 2
etc.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com





--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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