delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2015/05/23/05:24:31

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
bh=oG4rk+F3vvkYu0wY5xUtgx8Owqe2ajcfUMQzzPhei24=;
b=cyJEeR9nZo/jWl6EU8QdGBjnFZC0rDBiDa3XApw0uSGs+s2nR2IfGzvtdKKrgsXrLA
i5ETfVGQPbXXvHgwTnRN0JGUy7Jr728Epni9y/7FGfS38b2SGxZrlrdjd2dqsmVYwCJl
NE8TTzU+aeT5/momtpVt2z3VrcZyui5lCaF2INe0DfYc0MKTv1xjCRmpcACsjfpKQPex
eqdY0VOL3uVEhXWRs6K7/rZWdfh+PlZZSMNxEFNEQ/6BzVpHbhq06bE3tqQ/6NlHDKMO
YY1765i+NyMoqBsYH/NBXYY/Qk0goa/OEOUTzVopqQjtzHJZfHcJl9pRoj5MFV1CDkAU
FSqA==
MIME-Version: 1.0
X-Received: by 10.50.78.100 with SMTP id a4mr10886805igx.34.1432373048333;
Sat, 23 May 2015 02:24:08 -0700 (PDT)
In-Reply-To: <201505042003.t44K3odg011007@delorie.com>
References: <201505042003 DOT t44K3odg011007 AT delorie DOT com>
Date: Sat, 23 May 2015 12:24:08 +0300
Message-ID: <CAA2C=vBYHht1qs_b-_a0V_W4Za_km4RqAVyLYTj+=090cSjQAw@mail.gmail.com>
Subject: Re: ANNOUNCE: DJGPP 2.05 beta 1
From: "Ozkan Sezer (sezeroz AT gmail DOT com)" <djgpp AT delorie DOT com>
To: djgpp AT delorie DOT com
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Using an unmodified 2.03-based toolchain/djgpp environment,
current cvs fails like the following:

../../../lib/libc.a(crt1.o)(.text+0x25d):crt1.c: undefined reference
to `_environ'
../../../lib/libc.a(crt1.o)(.text+0x2c4):crt1.c: undefined reference
to `_environ'
../../../lib/libc.a(crt1.o)(.text+0x2d0):crt1.c: undefined reference
to `_environ'
../../../lib/libc.a(crt1.o)(.text+0x2f7):crt1.c: undefined reference
to `_environ'
../../../lib/libc.a(crt1.o)(.text+0x516):crt1.c: undefined reference
to `_environ'
../../../lib/libc.a(spawnvp.o)(.text+0x11):spawnvp.c: more undefined
references to `_environ' follow
make.exe[3]: *** [../../../bin/symify.exe] Error 1

However, if I specify djgpp.djl on the make line, like:
  make DJGPP_DJL=c:/v205/lib/djgpp.djl
... then build happily succeeds.

Why are we using the toolchain-provided linker script instead
of source tree-provided one?  If this was an oversight, I can
easily change this.

--
O.S.

- Raw text -


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