This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Can I link a.out .o with ELF?
- To: "H . J . Lu" <hjl at valinux dot com>
- Subject: Re: Can I link a.out .o with ELF?
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Mon, 5 Jun 2000 11:30:08 +1000 (EST)
- cc: binutils at sourceware dot cygnus dot com
On Sun, 4 Jun 2000, H . J . Lu wrote:
> I believe I used to be able to link a .o file in a.out on an ELF
> system. But now I got
>
> # gcc -o aout x.o
> collect2: ld terminated with signal 11 [Segmentation fault], core dumped
gcc -v output? It's not clear to me whether you're using an elf linker to
link a.out objects with a.out start-up and libraries, or with elf startup
and libraries. I'm guessing it's elf from looking at x.o
--
Linuxcare. Support for the Revolution.