Mail Archives: djgpp/2013/07/22/13:05:53
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
- Raw text -