delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/06/22:06:20

From: Jason <jason4chen AT my-deja DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: how to compile with g++ in EGCS
Date: Tue, 06 Jul 1999 18:14:12 GMT
Organization: Deja.com - Share what you know. Learn what you don't.
Lines: 19
Message-ID: <7lth18$l2p$1@nnrp1.deja.com>
NNTP-Posting-Host: 162.119.232.100
X-Article-Creation-Date: Tue Jul 06 18:14:12 1999 GMT
X-Http-User-Agent: Mozilla/4.5 [en] (Win95; I)
X-Http-Proxy: 1.0 x40.deja.com:80 (Squid/1.1.22) for client 162.119.232.100
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi all,

I downloaded egcs-1_1_2-mingw32.zip from internet, and installed on my
c: drive. However, I am not able to let the g++ command compile my c++
program!

Here are the command line I tried:
g++ -g -O -c c:\egcs\bin\overload.cpp
g++ -g -O -o main.exe -c c:\egcs\bin\overload.cpp

Both gave me such message:
cpp.exe: Too many arguments

How shoud I let it work?



Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

- Raw text -


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