Subject: Re: Cross-build problems
To: Gerald Heinig <Gerald.Heinig@planet-interkom.de>
From: Eric Haszlakiewicz <firstname.lastname@example.org>
Date: 10/10/2001 11:37:26
On Tue, Oct 09, 2001 at 10:22:37PM +0200, Gerald Heinig wrote:
> I hope I'm on the right list here for my problem. I'm trying to
> cross-compile for an sgimips target. In fact, all I want at the moment
> is to build libc and init.
> Building libc fails with a warning by lint of a zero-sized structure in
> types.h and syntax errors.
> I've had a great deal of problems even getting that far.
> Has anyone cross-built world recently? If so, could you perhaps send me
> your build scripts and mk.conf plus any environment variable settings,
> because I'm sure I've left something out somewhere.
I haven't ever tries cross-building, but you could try disabling lint:
You might also want to turn on NOMAN, NODOC and NOPROFILE to cut down on
the number of things you'll have to deal with.