🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52659

how do I force gcc to do something?

#52659
From: Marty Leisner 311/? x?
Date: Fri, 05 Jun 1992 23:46
12 lines
984 bytes
If I have a file (lets call it something.cpp), how do I tell gcc to do:
gcc -E something.cpp
and not try and pass it to the linker --

I don't want to just invoke cpp directly since it isn't in a standard place...

Maybe there should be a force option (assume input starts with the preprocesor?)

--
marty
leisner.henr801c@xerox.com  
Member of the League for Programming Freedom
Technical Details
Message-ID: <1992Jun5.234607.14328@spectrum.xerox.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!rutgers!rochester!rocksanne!trianguli!leisner

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,e51f93f1e1c5a800,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-06-05 12:18:16 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!rutgers!rochester!rocksanne!trianguli!leisner
From: leisner@trianguli (Marty Leisner 311/? x?)
Newsgroups: gnu.gcc.help
Subject: how do I force gcc to do something?
Message-ID: <1992Jun5.234607.14328@spectrum.xerox.com>
Date: 5 Jun 92 23:46:07 GMT
Sender: news@spectrum.xerox.com
Reply-To: leisner.henr801c@xerox.com
Organization: Xerox
Lines: 12
X-Newsreader: Tin 1.1 PL3