Subject: Re: ELF status?
To: David Brownlee <abs@netbsd.org>
From: Edwin Foo <efoo@crl.dec.com>
List: port-arm32
Date: 04/10/2000 11:21:04
I tried this over the weekend without any success, unfortunately. From what
I can tell, OBJECT_FMT is not referenced anywhere in /usr/src/sys/*, so I'm
not sure if setting that really changes the behavior of the kernel build.
I tried added -z and -Bstatic to the kernel Makefile in my compile/<config>
directory, but it still seems to generate an ELF kernel. Do I need to just
recompile my whole toolchain with OBJECT_FMT set to a.out?
thanks,
Edwin
----- Original Message -----
From: "David Brownlee" <abs@netbsd.org>
To: "Edwin Foo" <efoo@crl.dec.com>
Cc: <port-arm32@netbsd.org>
Sent: Friday, April 07, 2000 5:49 AM
Subject: Re: ELF status?
> You should be able to set 'OBJECT_FMT=a.out' in /etc/mk.conf
>
> David/absolute
>
> On Thu, 6 Apr 2000, Edwin Foo wrote:
>
> > So, I was compiling a -current kernel today on my CATS board, with
> > a -current toolchain, and I realized that my toolchain now outputs in
ELF.
> > But ebsa285_machdep.c doesn't grok ELF yet. Oops.
> >
> > Is there some magic flag I can set to output kernels in a.out for now?
And
> > if I put in the necessary support for ELF, can I reasonably expect the
rest
> > of the system to work okay using ELF and not a.out?
> >
> > thanks,
> > Edwin
> >
> > ---------
> > Compaq Computer Corp.
> > Cambridge Research Laboratory
> > efoo@crl.dec.com
> > 617-551-7612
> >
> >
> >
>