Subject: Re: Cross-compiling (was: RE: New machine for Ragge (Was: Microvax 31 00/30 KA45))
To: None <port-vax@NetBSD.ORG>
From: Boris Gjenero <bgjenero@undergrad.math.uwaterloo.ca>
List: port-vax
Date: 01/09/1998 21:08:25
Anders Magnusson wrote:
> 
> > > PS. I tried to set up a cross-compile environment on a PPro 200
> > > and it worked without too much problem. The programs I needed to play
> > with
> > > was as, cc, cc1, cpp, and ld to be able to compile kernels.
> >
> > More details, pleeease! A HOWTO would be fantastic.
> >
> Ok, the programs for generating vax binaries on i386 are available
> at ftp.luth.se:/pub/misc/ragge/cross-comp. I also wrote a small
> HOWTO file about how to set it up:

How difficult is it to build the programs for generating VAX binaries? 
Is doing it on NetBSD much less convoluted than what I had to do for
Linux?  I'm just wondering because I have a Sun 4/260 that's running
NetBSD/sparc, and I might be interested in setting up a cross
compilation environment on that.

BTW.  The Linux tools for generating NetBSD/vax binaries and the
modified sources are available at:
http://www.mnsi.net/~bgjenero/xcompile/
(I'm sorry... this is not necessarily release quality... the source
should compile, but I think some paths may be hardcoded in)

I don't have gcc there because my space is too limited, but gcc
shouldn't be too much trouble anyways.  Just ignore the udiv error that
happens when testing libgcc

-- 
|  Boris Gjenero <bgjenero@undergrad.math.uwaterloo.ca>              |
|  Home page:  http://www.undergrad.math.uwaterloo.ca/~bgjenero/     |
|  "Luke, you're going to find that many of the truths we cling to   |
|  depend greatly on our own point of view." - Obi-Wan Kenobi, ROTJ  |