I have the same problem under a new installation of RedHat 2.0. It was
installed with support for a.out, but that didn't create the i486-linuxaout
directory structure in /usr/lib/gcc-lib.
So, after loading libc-5.0.9, binutils-2.5.2l.17 and gcc-2.7.0 from the
tsx-11.mit.edu site, I was still missing /usr/lib/crt0.o.
I grabbed that from my old Slackware 1.2.1 installed it and now get:
/usr/i486-linuxaout/bin/ld: cannot open -lc: No such file or directory
It's late, I'm tired. Am I missing something really silly? Am I making
this harder than necessary?
Any help would be greatly appreciated.
> >Is it possible to compile programs under ELF system which use
> >pre-compiled a.out libraries?
> >The source code to these libraries are unavailable - so am I
> >going anywhere here?
> It's in the libc release notes.
> Compile with:
> -b i486-linuxaout
> as a gcc command line switch.
> gcc -b i486-linuxaout -o foo foo.c
> Computer Aided Engineering Network, Systems Group Phone: +1 313 936 1985