Subject: Re: Bootstrapping EGCS + shared libs?
To: Anders Magnusson <ragge@ludd.luth.se>
From: Aaron J. Grier <agrier@poofy.goof.com>
List: port-vax
Date: 02/01/1999 09:58:43
On Sat, Jan 30, 1999 at 09:15:54PM +0100, Anders Magnusson wrote:

> The big problem here is that all toolchain binaries must be told to
> compile for a.out, but pmax uses ELF as its native format.

pmax kernels are still a.out, since the loader still doesn't grok ELF.
A build of a pmax kernel builds ELF, but also sends it through elf2aout.
Besides, isn't vax ELF now anyway?  ;)

> Otherwise it would be simple, I have set up cross-compile environments
> under NetBSD/i386 many times: Just to 'setenv MACHINE vax; setenv
> MACHINE_ARCH vax' and compile.

This is what I was looking for.  :)  I'll have to play around once I'm
finished supping the vax kernel sources.  So do I have to make a cross
compiler myself, or can I just go into gnu/usr.bin and "make MACHINE=vax
MACHINE_ARCH=vax" and have everything work by magic?

----
  Aaron J. Grier  | "Not your ordinary poofy goof." | agrier@poofy.goof.com
    "NT is mute because it is fundamentally broken, period.  That any 
                 hardware works on that OS is amazing."
     -- Jacob Hawley, Sr. Manager, Custom Engineering, Creative Labs