has anyone got this to work. I keep on getting problems with the debugger (gnu) ld. After installing the linux (ELF) binaries, It complains that it can't find crtbegin.o or crtend.o
if I move these from the directory
/usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3 where they reside in the standard distribution, gpc produces an executable which immediately segfaults. What should I be doing here? Can I recompile gpc for a newer version of ld (if that is the problem)? trying to compile gcc 2.7.2.1 with the new ld halts with errors too. I've spent a fair bit of time fiddling around, so if anyone has some hints, I would be grateful if they could e-mail me back.
thanks a lot
yan wong
On Tue, 6 Jan 1998, yan wong wrote:
has anyone got this to work. I keep on getting problems with the debugger (gnu) ld. After installing the linux (ELF) binaries, It complains that it can't find crtbegin.o or crtend.o
if I move these from the directory
/usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3 where they reside in the standard distribution, gpc produces an executable which immediately segfaults.
You cannot use a GPC compiler binary targeting libc5 on a libc6 (glibc2) system. Instead, you have to rebuild the compiler.
What should I be doing here? Can I recompile gpc for a newer version of ld (if that is the problem)? trying to compile gcc 2.7.2.1 with the new ld halts with errors too. I've spent a fair bit of time fiddling around, so if anyone has some hints, I would be grateful if they could e-mail me back.
Get gcc-2.7.2.3 sources (or a RedHat SRPM), and insert the GPC sources.
Then, rebuild the compiler as described in the documentation. Your host and target system is i386-linux.
Good luck, JanJaap
--- With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead. -- RFC1925.