problem cross-compiling 9.1

Daniel Braniss danny at cs.huji.ac.il
Tue Oct 2 11:41:36 UTC 2012


> > when using an amd64 host to 'make buildworld' it seems that
> > it's using the wrong cpp, at least when building ioctl.c via mkioctl in
> > usr.bin/ktrace and having set WITHOUT_CPP(*). This used to work with
> > previous releases.
> 
> > *: Im compiling for an embedded system, and hence I want the minimum stuff.
> 
> > at the moment the work around is to remove the WITHOUT_CPP, but it got me
> > worried.
> 
> > any fix?
> 
> > cheers,
> >         danny
> 
> You don't say what target architecture you are cross-compiling for, and if
> your host OS was FreeBSD or something else like Linux or NetBSD.
> 
ok, the missing info is:
base system:
	FreeBSD 8.2-stable amd64
and cross-compiling to
	FreeBSD 9.1-PRERELEASE i386

> I've been cross-compiling NetBSD 5.1_STABLE, 6.0 prerelease and HEAD for
> i386 and amd64 from FreeBSD 9.0_STABLE with varied results, but in my
> experience NetBSD is less stable and less up-to-date than FreeBSD.

I have been cross-compiling since amd64 appeared with no problems (well almost 
:-).
The first time was i386 to amd64, and amd64 to x ever since.

cheers,
	danny




More information about the freebsd-stable mailing list