delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2013/07/22/13:14:46

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Date: Mon, 22 Jul 2013 20:14:00 +0300
From: Eli Zaretskii <eliz AT gnu DOT org>
Subject: Re: Does anybody remember how to compile djdev203?
In-reply-to: <51ED59CB.4040503@gmx.de>
X-012-Sender: halo1 AT inter DOT net DOT il
To: djgpp AT delorie DOT com
Message-id: <831u6qy0tj.fsf@gnu.org>
References: <51ED59CB DOT 4040503 AT gmx DOT de>
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

> Date: Mon, 22 Jul 2013 18:11:55 +0200
> From: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
> 
> I have checkouted v2_03_1 branch from the repository.
> I have tried to compiled it using gcc302, gpp302 and bnu2112.
> Stock djdev203 is installed.  I get the following error output:
> 
> gcc -O2 misc.c -o misc.exe
> ./misc.exe mkdir ../hostbin
> gcc -O2 makemake.c -o makemake.exe
> c:/djgpp-2.03/bin/make.exe -C stub native
> bison -o djasm-n.c djasm.y
> gcc -g djasm-n.c -o ../../hostbin/djasm.exe
> ./../misc.exe rm djasm-n.c
> ./../../hostbin/djasm.exe stub.asm stub.h stub.map
> 0x5e5 bytes generated, 0x600 bytes in file, 0x870 bytes total, 137 symbols
> gcc -g stub2inc.c -o stub2inc.exe
> ./stub2inc.exe stub.map stub.asm ./../../include/stubinfo.h
> gcc -g stubedit.c -o ../../hostbin/stubedit.exe
> gcc -g stubify.c -o ../../hostbin/stubify.exe
> c:/djgpp-2.03/bin/make.exe -C dxe native
> gcc -g -DDXE_LD=\"ld\" dxegen.c -o ../../hostbin/dxegen.exe
> c:/djgpp-2.03/bin/make.exe -C mkdoc
> building new response file
> gcc -g mkdoc.cc -o ../../hostbin/mkdoc.exe
> c:/TMP\ccriAIlX.o: In function `Node::add(char*)':
> mkdoc.cc:118: undefined reference to `operator new(unsigned long)'

Something's wrong with your Make variables.  The command in
mkdoc/makefile says:

$(HOSTBIN)/mkdoc.exe : mkdoc.cc
	$(GCC) mkdoc.cc $(LIBSTDCXX) -o $@

Evidently, somehow LIBSTDCXX expands to an empty string.  It is
defined in src/makefile.def.  Find out why this happens and fix that.

- Raw text -


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