help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cross compiling without ./configure


From: David Boyce
Subject: Re: Cross compiling without ./configure
Date: Sat, 27 Mar 2010 11:23:06 -0400

On Sat, Mar 27, 2010 at 10:48 AM, Galen Seitz <address@hidden> wrote:
> As I mentioned before, building a cross tool chain is not easy.  I strongly
> suggest that you install a tool chain directly on the Solaris system if at
> all possible.  You can find all the packages you need here:
>  http://www.sunfreeware.com/

Any modern Solaris machine may already have the required tooling in
/usr/sfw (stands for "solaris freeware"). Certainly any Solaris 10
system would, and I think Solaris 9 did too.

FWIW many Solaris people prefer the stuff at opencsw.org to the stuff
at sunfreeware.com (I do). It takes a few minutes to install and
configure the pkgutil script and from there on it's a it's a nice
auto-updating system analogous to what most Linux distros have. This
stuff installs into /opt/csw as opposed to sunfreeware which goes into
/usr/local.

The Sun compiler (Sun Studio) is also freely available nowadays so you
have your choice of that or gcc via either of the sites above. I
completely agree with Galen that it's hard to imagine why you'd want
to cross compile to a stable, self-hosting OS like Solaris. Usually
cross development is done for platforms which do not yet exist or
which are too small or simpleminded to host the required tools.

David Boyce




reply via email to

[Prev in Thread] Current Thread [Next in Thread]