[Clfs-dev] CLFS newbie: x86 to SPARC x-compiletion requirements

attila.j.horvath at gmail.com attila.j.horvath at gmail.com
Sun Mar 15 23:38:08 PDT 2009


All

Thank you very much for your replies.

Much appreciated.

Attila

On Sun, Mar 15, 2009 at 9:22 PM, Ryan Oliver
<ryan.oliver at performiq.com.au>wrote:

> attila.j.horvath at gmail.com wrote:
>
>> All
>>  I have a need to cross compile from a 32-bit x86 based Windows/Linux
>> hosting environment to a 64-bit SPARC based SOLARIS/10 target environment.
>> I've considered SUN's GCCFSS and have taken initial steps to go down that
>> path however there are some logistic hurdles that I may not be able to
>> overcome due to GCCFSS' basic operation. Primarily, it needs the contents of
>> the target machine's /usr/include, /usr/lib, /usr/(etc.) directories. Since
>> the target machine is a classified machine and the host is not, there is a
>> logistics I may not be able to easily overcome. I just came across CLFS.
>> From the sound of it, CLFS may very well get around this potential security
>> hurdle that GCCFSS may encounter.
>>
>>
> There is no way around needing to be able to have access to solaris 10
> includes and libraries if you intend to build a linux to solaris 10
> cross-compiler.
>
> They need to be copied into a sysroot (or nfs mounted into a sysroot) and
> then you build your toolchain.
>
> You can probably get away initially with using only SUNWcsl SUNWcslr (Core
> shared libs) and SUNWhea (SunOS header files) packages installed into the
> sysroot to buiild your cross-toolchaiin.
>
> After that you'll need to supply any additional libs includes as needed for
> whatever you are developing.
>
> Note: CLFS is geared to cross-compiling a linux operating system from
> scratch, not generating cross-toolchains for solaris, so is probably not
> exactly what you are looking for here...
>
> Best Regards
> [R]
>
> _______________________________________________
> Clfs-dev mailing list
> Clfs-dev at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clfs.org/pipermail/clfs-dev-clfs.org/attachments/20090316/2327e392/attachment-0001.htm>


More information about the Clfs-dev mailing list