Subject: Re: Of chickens, eggs, and GCC
To: Jerome Tonneson <jerome@m-net.arbornet.org>
From: Brian D Chase <bdc@world.std.com>
List: port-vax
Date: 05/10/1998 16:59:34
On Sun, 10 May 1998, Jerome Tonneson wrote:
> > Anders:
> > > Jay:

> > >Has anyone successfully built a cross-development environment? 

> >Be sure you are using a real make; e.g. not gnu make or some ancient
> >make from another system.

> So I'm trying to make a cross-development system using my Linux box.  I think 
> I just got over the first hurdle... finding a non-gnu make.  I used the make 
> from NetBSD (I'm using v1.3) along with the "Makefile.BOOTSTRAP" file that 
> came with it, but it still wouldn't build.  Everything but util.c would 
> compile.  It turns out that I had to wrap the last two functions in that file 
> with "#ifndef __linux__" ... "#endif"  I _think_ I can safely do this as the
> functions they were defining appeared to exactly match those in stdio.h.
> 
> So if it's the non-gnu make that's giving you problems this might help.

FYI, many of the Linux distributions come with `pmake' (why the `p' I
don't know) which is a BSD 4.4 style make.  RedHat comes with it, and I
seem to recall Slackware as having it too.

Or you can pick it up at,
http://sunsite.unc.edu/pub/Linux/devel/make/pmake.v1.0.tar.gz

-brian.
---
Brian "JARAI" Chase | http://world.std.com/~bdc/ | VAXZilla LIVES!!!