Subject: Re: Bootstrapping EGCS + shared libs?
To: Aaron J. Grier <agrier@poofy.goof.com>
From: Anders Magnusson <ragge@ludd.luth.se>
List: port-vax
Date: 01/30/1999 21:15:54
> 
> On a related bootstrapping note, I'd like to get my pmaxes (already
> running NetBSD) set up to do vax cross-compilation...  I know this has
> been brought up before back in October, but either it was unanswered or
> the replies never made it back to the list.  The best I could find via a
> web search was how to get a cross-compilation environment working under
> linux, which I could do, but it seems like a strange work-around
> considering that my pmax machines already have NetBSD on them.  :)
> 
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. 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. There were also a define in gcc arch/vax/... something 
that told the system to use soft-float inside gcc for floats, due to
the strange floating point format on vax.

-- Ragge