Subject: Re: Cross Compiler Request
To: Jason Thorpe <>
From: Todd Vierling <>
List: tech-pkg
Date: 08/20/1998 16:23:49
On Thu, 20 Aug 1998, Jason Thorpe wrote:

: 	make DESTDIR=/cross/target/root includes
: ...then you can BUILD the libraries.  This is how I have build NetBSD/powerpc
: many times before :-)

That's not it.  The cross pkgs are intended for OS's with a supplied API,
except when building for a completely generic target such as "m68k-coff".
(The generic targets would build only C support.)

Sure, I can have a powerpc-netbsd gcc use -nostdinc and point to a different
include tree, but the C++, ObjC, and F77 support all require a real API in
order to build and work properly.  That's why I'll build a `bootstrap' set
of includes and libraries, to use with such a compiler.

My immediate wait is the current shaking out of egcs vs. netbsd bugs.  Once
that's near completion, I'll roll a "cvs diff -rCYGNUS" and put it into the
bundle of egcs patches currently in pkgsrc/cross/COMMON/patches-egcs-ss.

-- Todd Vierling (Personal; Bus.