Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Oct 2012 21:52:47 -0400
From:      "Thomas Mueller" <mueller23@insightbb.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: problem cross-compiling 9.1
Message-ID:  <7A.49.16145.F6A9B605@smtp02.insight.synacor.com>

index | next in thread | raw e-mail

^ 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.

^ 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.

> ok, the missing info is:
> base system:

> FreeBSD 8.2-stable amd64
> and cross-compiling to

> FreeBSD 9.1-PRERELEASE i386

> 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

9.1-PRERELEASE is not too far ahead of 8.2-stable for building the system.

Advantage of a 64-bit OS over 32-bit OS for compiling is that 32-bit only
supports about 3 GB RAM, unless you use PAE, while 64-bit is not so limited,
but this is an issue only if you have >= 4 GB RAM.

FreeBSD is capable of cross-compiling the system for all supported
architectures ("make universe").

There have been questions on the FreeBSD lists on Clang vs. GCC for 
building the system and ports.

Tom


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7A.49.16145.F6A9B605>