Subject: Re: Bootstrapping EGCS + shared libs?
To: Aaron J. Grier <>
From: Anders Magnusson <>
List: port-vax
Date: 02/01/1999 22:36:00
> 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?  ;)
No, vax is still a.out. It will probably change to ELF sometime
in the future, but when is unknown.
> > 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?
Not exactly. (I think at least :-) I haven't done this with EGCS, but for
GCC i just went into gnu/usr.bin/{gcc,ld,as} and compiled. 
The best thing you can do is: try!

-- Ragge