www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/07/18:26:23

From: Hans-Bernhard Broeker <broeker AT acp3bf DOT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: -wall messages
Date: 7 Mar 2000 11:04:53 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 32
Message-ID: <8a2nol$73j$1@nets3.rz.RWTH-Aachen.DE>
References: <1B04E3E8A3E99978 DOT 0AA67B6C38AFD998 DOT 3BC818F6DB8E9388 AT lp DOT airnews DOT net>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 952427093 7283 137.226.32.75 (7 Mar 2000 11:04:53 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 7 Mar 2000 11:04:53 GMT
User-Agent: tin/1.4-19991113 ("No Labels") (UNIX) (Linux/2.0.0 (i586))
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Rodeo Red <rodeored AT netstep DOT net> wrote:
> This simple hello world program compiles fine but when I use -wall I get
> all the messages below. 

You mistype the name of that option consistently. It's -Wall (with a
capital W), not -wall.

> If these aren't warning messaes what are they ?  I thought warning
> messages would say "warning" on them.

Warnings from the compiler would, yes. But those messages you're
getting are messages from the linker, and they are error messages.
You should have got a message from the compiler driver about passing
the unknown switch '-wall' to the linker, though...

> Is djgpp the same compiler they mean when they say "gcc" ? Why does
> everyone else seem to use gcc as a command line but I have to use gpp ? 

Actually, 'everyone else' is probably using 'g++' when they're linking
C++ programs. '+' is not allowed in a DOS filename, so DJGPP calls that
version of the gcc driver 'gxx' or 'gpp' instead.

> r.exe(.text+0x1ec):crt0.s: multiple definition of `__exit'
> c:/djgpp/lib/crt0.o(.text+0x1ec):crt0.s: first defined here
[...]

Looks like you somehow managed to compile 'crt0.o' into your
executable twice. Show us the exact command line(s) you used to
compile and link, and we can offer further help.
-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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