Keith M Wesolowski wrote:
> On Wed, Aug 02, 2006 at 06:04:34PM -0700, Lei Jin wrote:
>
>   
>> This is a simple question but important to me. Since our dept. only
>> has solaris machines, which I cannot change the OS. However, my
>> research would require some modification to the OpenSolaris
>> kernel. Obviously, compiling the kernel on simualtor would be toooo
>> slow. So is it possible to compile the opensolaris kernel on
>> Solaris? Are they compatible? Thanks a lot!
>>     
>
> Solaris contains OpenSolaris, so in general the answer is yes.
> However, that only holds for the same version or build number.  You
> cannot, for example, build (or run) a current OpenSolaris kernel on
> Solaris 8, 9, or 10.  Check out the release notes for ON (which
> contains the kernel) at
> http://dlc.sun.com/osol/on/downloads/current/README.opensolaris and
> the known issues page
> (http://opensolaris.org/os/community/onnv/known_issues/) for
> information on the requirements to build the latest sources.  There's
> some chance that it's possible, with some work, to build recent ON on
> the latest S10 update, but I'd lay heavy odds against it.
>
> To learn more about the relationship between OpenSolaris and Solaris,
> see
> http://www.opensolaris.org/os/about/faq/general_faq/#opensolaris-solaris
> or http://whacked.net/2005/06/21/confused-so-was-i/.
>
>   

For what it is worth, I really and truly believe this problem is
solvable, along with the problem of cross-compiling, if only folks want
to spend the time to make it work.  Certainly NetBSD is a good example
of a full OS that cross-builds even from non-native OS'.

I've made this work well with some kernel bits from Solaris, but never
with an actual Solaris tree.  The Makefiles have all kinds of 'orrible
assumptions in them about their build environment.

I'd be willing to contribute some time assisting in an effort to address
this (especially the kernel bits), but the job is too big for a single
person, I think, and it would have to have the blessing of the Sun
folks, because, quite honestly, a lot of churn in Makefiles and
packaging and such would have to happen.

I dearly wish I could cross compile SPARC from my amd64 machine.

-- 
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134  Fax: 951 325-2191

_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to