Subject: Re: Cross compile from NetBSD/i386?
To: None <jeremy@broder.com>
From: Scott Ellis <scotte@warped.com>
List: port-mac68k
Date: 01/12/1997 11:29:26
In "Re: Cross compile from NetBSD/i386?", Jeremy Cooper <jeremy@broder.com>
wrote: 
> On Thu, 9 Jan 1997, Scott Ellis wrote:
> 
> > I'm trying to setup a cross-compile environment on a NetBSD/i386
> > box running -current, so that I can build m68k binaries on it,
> > but think I'm doing it wrong. ;-)
> 
> The INSTALL document that comes with gcc-2.7.2 describes how to set up a
> cross-compiler.  I think it is very well worded and has carefully outlined
> steps that you should follow.  I never had to edit any of the include
> files, and I doubt you will either.

Well, I've got gcc 2.7.2.1, binutils 2.7, and make installed, and
configured for m68k, and it seems to mostly work.

I can compile statically linked m68k bins, or object files (which I can
later dynamically link on the Sun3), but I can't seem to get it to build
shared libs, or to link dynamically (I'm using the NetBSD/Sun3 1.2 libs
to link against, until I can get -current libs built).

Any ideas here?

It was suggested to try NetBSD's as and ld, but I have a feeling these
won't be fun to build in a cross-compile environment. ;-) 

-- 
   //////////////////////////////////////////////////////////////////////
  //    Scott Ellis     //   scotte@warped.com   //   sellis@gi.com   //
 //////////////////////////////////////////////////////////////////////
// WARNING: This signature warps  time and space in its vicinity    //