🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #53331

overriding default switches

#53331
From: Alan W. McKay
Date: Mon, 03 Feb 1992 17:27
31 lines
2384 bytes
Firstly, I am truely sorry if this is a FAQ.  I usually save the monthy
FAQs for newsgroups that I read, and search there first before posting
to the net.  However, I have never before read this group, so ...

I am using gcc to port PNN (Princeton News Network) to our CDC 4680 box
and have run into a number of difficulties dealing with the dual universe
of the CDC.  Mainly, BSD curses don't seem to be able to display tabs
( yes, I did recreate the problem with a small test program !! ), and
I can't seem to override the gcc defaults to get it to look *first* into 
the SYSV universe.  I read the man page (3 or 4 times!!) and glanced over the
CPP and "Using and Porting" manuals, and can't seem to find what I want.

Using the -v (verbose) option, I found out that gcc uses oodles of
default switches.  When I put my own stuff on the command line it seems
to get stuck in at the first of the command line, while the defaults
go to the end and my specs seem to get ignored (I'm not sure of exactly
what is happening, but the bottom line is that it doesn't work!!)  I
want to turn off **ALL** the defaults, and specify **EVERYTHING**
manually, thus assuring total compatibility with the system supplied
compilers.  That is to say, using the -v option on the supplied BSD and
SYSV compilers, I found out **exactly** what I should specify on the
gcc command line, but first I need to turn off all the defaults!!
BTW, I am not using system compilers because PNN uses lots of C features
that our compilers don't support, so I have to use GNU.

As an aside to this question, I have gcc 1.40, and am wondering how
new this is.  I also have the man page, and two other documents, as
mentioned above.  Is there any other documentation I should have?
Where is the best site to get GNU stuff?

Thanks in advance for your help.
Technical Details
Message-ID: <alan.697138029@aucs>
Path: arc1-ca.pugleaf.net!sparky!uunet!psinntp!nstn.ns.ca!pony.acadiau.ca!aucs!alan

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,2c3c570981f64327,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-02-02 14:28:58 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!psinntp!nstn.ns.ca!pony.acadiau.ca!aucs!alan
From: alan@aucs.acadiau.ca (Alan W. McKay)
Subject: overriding default switches
Message-ID: <alan.697138029@aucs>
Sender: news@pony.acadiau.ca (USENet News)
Nntp-Posting-Host: aucs.acadiau.ca
Organization: Acadia University
Date: Mon, 3 Feb 1992 17:27:09 GMT