X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Message-ID: <51ED63D5.3090207@iki.fi> Date: Mon, 22 Jul 2013 19:54:45 +0300 From: Andris Pavenis User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: djgpp AT delorie DOT com CC: Juan Manuel Guerrero Subject: Re: Does anybody remember how to compile djdev203? References: <51ED59CB DOT 4040503 AT gmx DOT de> In-Reply-To: <51ED59CB.4040503@gmx.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com On 07/22/2013 07:11 PM, Juan Manuel Guerrero wrote: > 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)' > c:/TMP\ccriAIlX.o: In function `Node::read_portability_note(char*)': > mkdoc.cc:174: undefined reference to `operator new(unsigned long)' I do not remember either how I did it earlier. It was too long time ago About mkdoc: It's not linked with libstdcxx.a: adding '-lstdcxx -lm' allows to go bit further, bit even gcc-3.4.4 seems to be too new. I guess that even the last rebuild of DJGPP v2.03 was done in DJGPP installation that was ancient even then. Andris