delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/08/03:15:14

Date: Tue, 8 Feb 2000 09:44:15 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Philip Eliot <peliot AT axnd01 DOT cern DOT ch>
cc: djgpp AT delorie DOT com
Subject: Re: New user: problem compiling
In-Reply-To: <87nlaq$dlm$1@sunnews.cern.ch>
Message-ID: <Pine.SUN.3.91.1000208094251.28790L-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 7 Feb 2000, Philip Eliot wrote:

> c:/djgpp/lib/crt0.o(.data+0xc2):crt0.s:undefined reference to 'main'
> c:/djgpp/lib/libc.a(crt1.0).text+0x44e):crt1.c:undefined reference to 'main'
> collect2:ld returned 1 exit status

You need to tell what was the command line you used to invoke the 
compiler.  There's something wrong with it, but it's impossible to tell 
what exactly without seeing it.

The file README.1ST which comes with djdev203.zip shows examples of 
compiler invocation.

- Raw text -


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