Hi, I've just upgraded to the last alpha. When trying to compile a program I got this: ******************************
C:\UTILS\GPC\Ariel\Mandel>...\bin\gpc -v --automake=-v mandel1.pas Reading specs from c:/utils/gpc/lib/specs gpc driver version 2.81 executing gpc version 2.8.1 c:/utils/gpc/bin/gpc-cpp.exe -lang-pascal -v -nocharescape -undef -D__GNUC__=2 -D__GPC__=2 -D__GNUC_MINOR__=8 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -DDJGPP_MI NOR=1 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D__DJGPP_MINOR __=1 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR=1 -D__BITS _LITTLE_ENDIAN__=1 -D__BYTES_LITTLE_ENDIAN__=1 -D__WORDS_LITTLE_ENDIAN__=1 mande l1.pas c:/utils/gpc/tmp/ccbywrgj GNU CPP version 2.81 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: c:/utils/gpc/include c:/utils/gpc/lang/pascal c:/utils/gpc/contrib/grx22/include /usr/local/include JDIR/djgpp/include JDIR/lib/gcc-lib/djgpp/2.81/include $DJDIR/include End of search list. c:/utils/gpc/bin/gpc1.exe c:/utils/gpc/tmp/ccbywrgj -quiet -dumpbase mandel1.pa s -version -famtmpfile=mandel1.gpc -fautomake=-v -o c:/utils/gpc/tmp/cccywrgj GNU Pascal version 2.81 (djgpp) compiled by GNU C version 2.8.1. c:/utils/gpc/bin/as.exe -o c:/utils/gpc/tmp/ccdywrgj c:/utils/gpc/tmp/cccywrgj c:/utils/gpc/bin/ld.exe crtf.o c:/utils/gpc/lib/crt0.o -Lc:/utils/gpc/lib -Lc:/ utils/gpc/contrib/grx22/lib -Lc:/utils/gpc/lib/gcc-lib/djgpp/2.81 -Lc:/utils/gpc /lib c:/utils/gpc/tmp/ccdywrgj -lgpc -lm -lgcc -lc -lgcc -Tdjgpp.djl c:/utils/gpc/bin/ld.exe: cannot open crtf.o: No such file or directory (ENOENT)
************************************ I've already compiled the grx20, and that program used to work with gpc 2.0
Also, when trying to compile it under rhide I always get (with every program)" cannot open crtf.o: No such file or directory (ENOENT)" Why is that? Am I doing something wrong?
Thanks, Ariel --- Ariel Bendersky bender@einstein.com.ar
According to Bendersky:
Hi, I've just upgraded to the last alpha. When trying to compile a program I got this: [...] c:/utils/gpc/bin/ld.exe: cannot open crtf.o: No such file or directory (ENOENT)
`crtf.o' is part of the gcc-2.8.1 binary distribution.
Hope this helps,
Peter
Thanks, I'm downloading it right now. I was working with an older version of Gcc.
Thanks again, Ariel.
From: Peter Gerwinski peter@gerwinski.de Subject: Re: crtf.o To: bender@einstein.com.ar (Bendersky) Date: Sat, 23 May 1998 00:13:51 +0200 (MEST) Cc: gpc@hut.fi
According to Bendersky:
Hi, I've just upgraded to the last alpha. When trying to compile a program I got this: [...] c:/utils/gpc/bin/ld.exe: cannot open crtf.o: No such file or directory (ENOENT)
`crtf.o' is part of the gcc-2.8.1 binary distribution.
Hope this helps,
Peter
-- Peter Gerwinski, Essen, Germany, http://home.pages.de/~Peter.Gerwinski/ Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-980511 PGP key on request - 6C 94 45 BE 28 A4 96 - 0E CC E9 12 47 25 82 75 Fight the SPAM and UBE! - http://spam.abuse.net/ - http://maps.vix.com/
--- Ariel Bendersky bender@einstein.com.ar
Now, with gcc2.8.1 the error is the following: crtfgo32.c: undefined reference to `__EH_FRAME_BEGIN__'
Do you know what should I do?
Thanks again, Ariel.
According to Bendersky:
Hi, I've just upgraded to the last alpha. When trying to compile a program I got this: [...] c:/utils/gpc/bin/ld.exe: cannot open crtf.o: No such file or directory (ENOENT)
`crtf.o' is part of the gcc-2.8.1 binary distribution.
Hope this helps,
Peter
-- Peter Gerwinski, Essen, Germany, http://home.pages.de/~Peter.Gerwinski/ Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-980511 PGP key on request - 6C 94 45 BE 28 A4 96 - 0E CC E9 12 47 25 82 75 Fight the SPAM and UBE! - http://spam.abuse.net/ - http://maps.vix.com/
--- Ariel Bendersky bender@einstein.com.ar
According to Bendersky:
Now, with gcc2.8.1 the error is the following: crtfgo32.c: undefined reference to `__EH_FRAME_BEGIN__'
I remember having seen that ...
IIRC, the reason for this was an old `djgpp.djl' or another file from the gcc-2.7.2.1 distribution that was still used. Please make sure that the old version of GCC has be deinstalled correctly. (A list of files is in /djgpp/manifest/gcc2721b.mft.)
Peter
According to Bendersky:
Now, with gcc2.8.1 the error is the following: crtfgo32.c: undefined reference to `__EH_FRAME_BEGIN__'
I remember having seen that ...
IIRC, the reason for this was an old `djgpp.djl' or another file from the gcc-2.7.2.1 distribution that was still used. Please make sure that the old version of GCC has be deinstalled correctly. (A list of files is in /djgpp/manifest/gcc2721b.mft.)
Peter
I've deleted all the files in gcc2721b.mft, and unpacked the gcc2.8.1, and I still get the same error. Should I try deleting and unpacking again each of the mft files?
Thanks, Ariel. --- Ariel Bendersky bender@einstein.com.ar
According to Bendersky:
Now, with gcc2.8.1 the error is the following: crtfgo32.c: undefined reference to `__EH_FRAME_BEGIN__'
[...]
I've deleted all the files in gcc2721b.mft, and unpacked the gcc2.8.1, and I still get the same error. Should I try deleting and unpacking again each of the mft files?
Maybe, but I am not sure that this will have any effect ... :-(
Let's look at our `djgpp.djl':
8< -------------------------------------
OUTPUT_FORMAT("coff-go32-exe") ENTRY(start) SECTIONS { .text 0x1000+SIZEOF_HEADERS : { *(.text) etext = . ; _etext = .; . = ALIGN(0x200); } .data ALIGN(0x200) : { djgpp_first_ctor = . ; *(.ctor) djgpp_last_ctor = . ; djgpp_first_dtor = . ; *(.dtor) djgpp_last_dtor = . ; *(.data) *(.gcc_exc) ___EH_FRAME_BEGIN__ = . ; *(.eh_fram) ___EH_FRAME_END__ = . ; LONG(0) edata = . ; _edata = .; . = ALIGN(0x200); } .bss SIZEOF(.data) + ADDR(.data) : { _object.2 = . ; . += 24 ; *(.bss) *(COMMON) end = . ; _end = .; . = ALIGN(0x200); } }
8< -------------------------------------
Please check whether this matches your version in the /djgpp/lib/gcc-lib/djgpp/2.81/ directory.
I do not understand what all this means, but maybe we must replace `.gcc_exe' with `.gpc_exe' here? But why does it work for me then?
Confused,
Peter
I've already re-installed all the DJGPP and GPC, because it was full of trash from every upgrade i made to it. Now eveything works perfect.
Thanks anyway, Ariel.
From: Peter Gerwinski peter@gerwinski.de Subject: Re: crtf.o To: bender@einstein.com.ar (Bendersky) Date: Sun, 31 May 1998 21:32:21 +0200 (MEST) Cc: gpc@hut.fi
According to Bendersky:
Now, with gcc2.8.1 the error is the following: crtfgo32.c: undefined reference to `__EH_FRAME_BEGIN__'
[...]
I've deleted all the files in gcc2721b.mft, and unpacked the gcc2.8.1, and I still get the same error. Should I try deleting and unpacking again each of the mft files?
Maybe, but I am not sure that this will have any effect ... :-(
Let's look at our `djgpp.djl':
8< -------------------------------------
OUTPUT_FORMAT("coff-go32-exe") ENTRY(start) SECTIONS { .text 0x1000+SIZEOF_HEADERS : { *(.text) etext = . ; _etext = .; . = ALIGN(0x200); } .data ALIGN(0x200) : { djgpp_first_ctor = . ; *(.ctor) djgpp_last_ctor = . ; djgpp_first_dtor = . ; *(.dtor) djgpp_last_dtor = . ; *(.data) *(.gcc_exc) ___EH_FRAME_BEGIN__ = . ; *(.eh_fram) ___EH_FRAME_END__ = . ; LONG(0) edata = . ; _edata = .; . = ALIGN(0x200); } .bss SIZEOF(.data) + ADDR(.data) : { _object.2 = . ; . += 24 ; *(.bss) *(COMMON) end = . ; _end = .; . = ALIGN(0x200); } }
8< -------------------------------------
Please check whether this matches your version in the /djgpp/lib/gcc-lib/djgpp/2.81/ directory.
I do not understand what all this means, but maybe we must replace `.gcc_exe' with `.gpc_exe' here? But why does it work for me then?
Confused,
Peter
-- Peter Gerwinski, Essen, Germany, http://home.pages.de/~Peter.Gerwinski/ Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-980511 PGP key on request - 6C 94 45 BE 28 A4 96 - 0E CC E9 12 47 25 82 75 Fight the SPAM and UBE! - http://spam.abuse.net/ - http://maps.vix.com/
--- Ariel Bendersky bender@einstein.com.ar