delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/23/06:30:24

From: dontmailme AT iname DOT com (Steamer)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Cannot find crt0.o
Date: Sun, 23 Apr 2000 10:58:07 GMT
Organization: always disorganized
Lines: 15
Message-ID: <3902d733.11047602@news.freeserve.net>
References: <20000422164823 DOT 93266 DOT qmail AT hotmail DOT com>
NNTP-Posting-Host: modem-74.blue-angel.dialup.pol.co.uk
X-Trace: newsg4.svr.pol.co.uk 956487488 1186 62.136.234.74 (23 Apr 2000 10:58:08 GMT)
NNTP-Posting-Date: 23 Apr 2000 10:58:08 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Newsreader: Forte Free Agent 1.11/32.235
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Paul Edwards wrote:

>Anyway, my problem is that when trying to compile a c++ program, using :
>
>gcc -o hello.exe hello.c

In my previous reply I overlooked your mention of C++.  If it's really
a C++ program (rather than C) then you should use

    gxx -o hello.exe hello.cc

I doubt this was the cause of the error messages you were seeing,
but you should get it right or you will have other problems.

S.

- Raw text -


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