Subject: Re: Bootstrapping EGCS + shared libs?
To: None <port-vax@netbsd.org>
From: Aaron J. Grier <agrier@poofy.goof.com>
List: port-vax
Date: 01/30/1999 11:44:42
On Fri, Jan 29, 1999 at 08:28:16AM -0800, Matt Thomas wrote:

> (cd gnu/usr.bin/ld && make && make install)
> (cd gnu/usr.bin/gas.new && make && make install)
> (cd gnu/usr.bin/egcs && make NOPIC= && make install)
> (cd lib/libc && make libc_pic.a)
> (cd libexec/ld.aout_so && make && make install)

Don't you have to make libiberty (or whatever it is) and bfd to get ld
to compile?

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.  :)

For the cross-compiler, can I just go into
src/gnu/usr.bin/{ld.new,gas.new,egcs} and add some flags to make
(MACHINE_ARCH=vax?) to generate the cross compiler, or do I have to get
virgin GNU sources and do it on my own?

Once the cross-compiler is installed, again, is it just a matter of
adding the right flags to make, or do I have to "compile by hand?"

My uVAXen thank you.  :)

----
  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