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