Subject: Re: What is a snapshot?
To: Ian Dall <>
From: Scott Ellis <>
List: current-users
Date: 08/12/1997 09:25:36
On Tue, Aug 12, 1997 at 10:32:25AM +0930, Ian Dall wrote:
> Dave Huang <> writes:
>   > Has anyone been able to get cross-compilation working with shared libs?
>   > I'm compiling on NetBSD/i386 with a target of NetBSD/m68k, and it works
>   > great for kernels and statically linked binaries, but binutils 2.8(.1)
>   > doesn't seem to know about NetBSD's shared libraries.
> support is broken. I can give you patches if you like. (I have already
> sent the patches to a few people, but I don't think they are achived
> anywhere). What there is no support for is cross compiling to a

I've put Ian's patches, and a NetBSD m68k capable 'strip' on if anybody wants to grab them.

The basic step in getting an m68k target to build on a non-m68k
platform so far has been using Ian's patches on the in-tree as and ld,
using the strip68k program in place of binutils' strip, and "undoing"
the gcc2netbsd work (basically untar gcc 2.7.2, and then copy the
in-tree gcc/cc/etc files to the gcc 2.7.2 tree before building, in
order to pick up NetBSD's changes such as 060 support).  After that,
and using the standard binutils (sans strip, ld, as), a minimal amount
of hacking to Makefiles is necessary in order to build the majority of
the tree (groff and tn3270 as I recall are the only things which
I just couldn't seem to get built).

  //    Scott Ellis     //   //  //
// WARNING: This signature warps  time and space in its vicinity    //