🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52671

Re: how do I force gcc to do something?

#52671
From: Michael Salmon
Date: Tue, 09 Jun 1992 09:40
26 lines
1394 bytes
In article <1992Jun5.234607.14328@spectrum.xerox.com>, leisner@trianguli (Marty Leisner 311/? x?) writes:
|> 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

gcc -x c -E something.cpp works for me.

-- 

Michael Salmon

#include	<standard.disclaimer>
#include	<witty.saying>
#include	<fancy.pseudo.graphics>

Ericsson Telecom AB
Stockholm
Technical Details
Message-ID: <1992Jun9.094003.22600@ericsson.se>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic2!ericom!eos.ericsson.se!etxmesa
References: <1992Jun5.234607.14328@spectrum.xerox.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,e51f93f1e1c5a800
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-06-08 22:31:16 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic2!ericom!eos.ericsson.se!etxmesa
From: etxmesa@eos.ericsson.se (Michael Salmon)
Subject: Re: how do I force gcc to do something?
Message-ID: <1992Jun9.094003.22600@ericsson.se>
Sender: news@ericsson.se
Nntp-Posting-Host: eos6c02.ericsson.se
Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
Organization: Ericsson Telecom AB
References:  <1992Jun5.234607.14328@spectrum.xerox.com>
Date: Tue, 9 Jun 1992 09:40:03 GMT
Lines: 26