X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Message-ID: <51EED8DB.9030600@iki.fi> Date: Tue, 23 Jul 2013 22:26:19 +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> <51ED92DB DOT 8030503 AT gmx DOT de> In-Reply-To: <51ED92DB.8030503@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 11:15 PM, Juan Manuel Guerrero wrote: > Thank you for your assistance. I have stopped using gcc302. > The only 29NN compiler that seems not to crash on my XP system when I try > to compile the sources is 2.95.3 together with binutils 2.9.5. > The 2.95.3 compiler also does not show the $(LIBSTDCXX) issue. > It now compiles but there are still 2 new issues: > > 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:/djgpp-2.03/bin/make.exe -C libc > ../makemake.exe > makemake: scanning libc for makefiles > > [snip] > > c:/djgpp-2.03/bin/make.exe -C crt0 > gcc ... -c _main.c > gcc ... -c brk.c > gcc ... -c c1args.c > gcc ... -c c1loadef.c > gcc ... -c c1pglob.c > gcc ... -c crt1.c > gcc ... -c mcount.c > gcc ... -c memhandl.c > gcc ... -c rfinfo.c > gcc @../../gcc.opt -I. -I- -I../../../include -MMD -c crt0.S -o ../../../lib/crt0.o > c:/TMP\ccWHZ1F4.s: Assembler messages: > c:/TMP\ccWHZ1F4.s:403: Warning: Indirect ljmp without `*' > c:/TMP\ccWHZ1F4.s:492: Warning: Indirect lcall without `*' > sed 's AT crt0 DOT o@../../../lib/crt0.o@' crt0.d > crt02.d > gcc @../../gcc.opt -I. -I- -I../../../include -MMD -c gcrt0.S -o ../../../lib/gcrt0.o > c:/TMP\cchMl1Pa.s: Assembler messages: > c:/TMP\cchMl1Pa.s:407: Warning: Indirect ljmp without `*' > c:/TMP\cchMl1Pa.s:496: Warning: Indirect lcall without `*' > sed 's AT gcrt0 DOT o@../../../lib/gcrt0.o@' gcrt0.d > gcrt02.d > building new response file > > [snip] > > c:/djgpp-2.03/bin/make.exe -C go32 > gcc ... -c dpmiexcp.c > gcc ... -c exceptn.S > c:/TMP\ccf5N2Ic.s: Assembler messages: > c:/TMP\ccf5N2Ic.s:352: Warning: Indirect ljmp without `*' > c:/TMP\ccf5N2Ic.s:404: Warning: Indirect ljmp without `*' > gcc ... -c go32cbrk.c > gcc ... -c godefv1.S > gcc ... -c gopint.c > gcc ... -c gopvec.c > gcc ... -c goqmem.c > gcc ... -c gormcb.c > gcc ... -c gormem.c > gcc ... -c gorvec.c > gcc ... -c infostrc.c > building new response file > > [snip] > > ../makemake.exe -2 > makemake: scanning libc for object files > c:/djgpp-2.03/bin/make.exe ./../../lib/libc.a > gcc -c -DLIB=libc ./../ident.c -o id_c.o > ar q ./../../lib/libc.a @makefile.rf id_c.o > C:\DJGPP-2.03\BIN/ar.exe: ./../../lib/libc.a: rename: Not enough memory (ENOMEM) > make.exe[2]: *** [../../lib/libc.a] Error 1 > make.exe[1]: *** [all] Error 2 > make.exe: *** [subs] Error 2 Tried the following: - dug out ancient CD with DJGPP distribution I burned in year 2002 - unpacked following archives (for DOSEMU under Fedora 19 x86_64) [andris AT ap djold]$ ls -l *.zip -r--r--r--. 1 andris andris 2706124 Jan 6 2002 bnu2112b.zip -rw-r--r--. 1 andris andris 156589 Feb 29 2000 bsn128b.zip -r--r--r--. 1 andris andris 1530778 Aug 10 2002 djdev203.zip -r--r--r--. 1 andris andris 1526539 Jan 6 2002 djlsr203.zip -rw-r--r--. 1 andris andris 870698 May 27 2000 djtst203.zip -rw-r--r--. 1 andris andris 490103 Apr 20 2000 djtzn203.zip -rw-r--r--. 1 andris andris 234688 Apr 20 2000 djtzs203.zip -rw-r--r--. 1 andris andris 1199604 May 30 2000 fil316b.zip -r--r--r--. 1 andris andris 1778502 Jan 6 2002 gcc2953b.zip -r--r--r--. 1 andris andris 1669810 Jan 6 2002 gpp2953b.zip -rw-r--r--. 1 andris andris 254997 Jan 16 2000 grep24b.zip -r--r--r--. 1 andris andris 858320 May 11 2002 gwk311b.zip -rw-r--r--. 1 andris andris 116845 Aug 4 2001 gzip13b.zip -r--r--r--. 1 andris andris 272798 Jan 6 2002 mak3791b.zip -rw-r--r--. 1 andris andris 646656 Jan 16 2000 txi40b.zip After that build is going mostly OK expect: - same warnings about ljmp, lcall etc (there were some discussions in mailing lists about that if I remember correctly, but that was long time ago) - some error when building time zone info: c:/djold/bin/make.exe -C ../zoneinfo/src ./host-zic -y ./yearistype -d ../../zoneinfo -L /dev/null africa antarctica asia australasia europe northamerica southamerica pacific new etcetera factory backward systemv solar87 solar88 solar89 "australasia", line 80: Wild result from command execution (rule from "australasia", line 74) ./host-zic.exe: command was './yearistype 1990 odd', result was -1 make.exe[1]: *** [posix_only] Error 1 make.exe: [subs] Error 2 (ignored) I have not tried to do that under Windows at all. Nor I tested that built files are OK Andris