www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/08/22:16:48

From: "Matthew Conte" <spam AT somebody DOT else>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: OH GOD HELP ME SOMEONE READ THIS!!!! S.O.S!!
Date: Mon, 8 Jun 1998 22:08:10 -0400
Organization: ICGNetcom
Lines: 16
Message-ID: <6li5db$d6a@sjx-ixn9.ix.netcom.com>
References: <uazJYzok9GA DOT 235 AT upnetnews05> <6lhf10$41t$1 AT news DOT cybercity DOT dk> <MPG DOT fe68cb59909a6f2989738 AT news DOT virgin DOT net>
NNTP-Posting-Host: frm-ma4-23.ix.netcom.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Andrew R. Gillett wrote in message ...
>> hello.cpp is a C++ file and  you should use g++ to compile it.
>>
>> g++ hello.cpp -o hello.exe
>
>Shouldn't that be 'gpp'?

Not with gcc 2.8.x...  g++ is the valid executable name (if you have Win95)
to be more inline with the Unix world...  gpp also works though; unless
you're like me and still using 2.7.2.1, where gxx will invoke the C++
compiler, unless of course you're like me and only write C programs. =)

Later,
Matt.


- Raw text -


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