Article View: gnu.gcc.help
Article #51386Re: Help in compiling C++ program on gcc on dos
From: DJ Delorie
Date: Thu, 27 May 1993 14:14
Date: Thu, 27 May 1993 14:14
13 lines
1219 bytes
1219 bytes
In article <ksiew.738421840@mullian.ee.Mu.OZ.AU>, ksiew@ee.mu.OZ.AU (steven kok-hsien siew) writes: > C:\DJGPP\FILE>gcc hello.cc > Command or filename not recognized > > Can't open c:/tmp/cc001537.s for readingfile not found. > c:/djgpp/lib/crt0.o: Undefined symbol _main referenced from text segment This is yet another example of "read the documentation". You probably didn't install the C++/Obj-C front ends in djgpo222.zip, and thus can't compile any C++ programs. Try "gcc -v hello.cc" and you'll see what I mean. DJ
Technical Details
Message-ID:
<1u2ic5INNpgm@ctron-news.ctron.com>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!noc.near.net!ctron-news.ctron.com!ctron-news.ctron.com!usenetReferences:
<ksiew.738421840@mullian.ee.Mu.OZ.AU>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,20d368dd1aa3de0c X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-05-27 08:01:54 PST Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!noc.near.net!ctron-news.ctron.com!ctron-news.ctron.com!usenet From: dj@ctron.com (DJ Delorie) Newsgroups: gnu.gcc.help Subject: Re: Help in compiling C++ program on gcc on dos Date: 27 May 1993 14:14:29 GMT Organization: None whatsoever Lines: 13 Distribution: world Message-ID: <1u2ic5INNpgm@ctron-news.ctron.com> References: <ksiew.738421840@mullian.ee.Mu.OZ.AU> Reply-To: dj@ctron.com NNTP-Posting-Host: delorie.ctron.com Keywords: dos