Can "make" work in ELF-default environment to produce a.out binaries?

Can "make" work in ELF-default environment to produce a.out binaries?

Post by Dan Rubenste » Tue, 07 Nov 1995 04:00:00



Hi,

I have some Makefiles that don't seem to be working right (e.g.
for DOSEMU), and I presume this is because the kernel I compiled
(1.2.13) and am using has default compilation set to ELF binary
format instead of a.out.  I have tried changing the Makefile,
by placing -b i486-linuxaout in front of each gcc and
-m i386linux in front of each ld, but this does not seem to be
enough.

Does anybody know what the correct thing to do is?  I am more concerned
in just getting things to compile and link.  I don't care if it's
a.out or ELF binary.  I think alot of people are in the same boat as
me, so anybody with any ideas would be a big help

Thanks,
Dan

 
 
 

Can "make" work in ELF-default environment to produce a.out binaries?

Post by Bob Hau » Tue, 07 Nov 1995 04:00:00


|> I have some Makefiles that don't seem to be working right (e.g.
|> for DOSEMU), and I presume this is because the kernel I compiled
|> (1.2.13) and am using has default compilation set to ELF binary

DOSEMU will compile as ELF.  Make sure you set the ELF flag in the
makefile.  Also, I had to get rid of "libslang.a", as the version in
the DOSEMU package is a.out.  My system (Caldera) came with an ELF
libslang installed.  If you don't have this, you may need to get it
someplace and compile an ELF version.

---
 Bob Hauck                              Wasatch Communcations Group