Installing a cross compiler
Tue Oct 30 09:13:00 GMT 2001
Those files are tar'ed up versions of what I found on a solaris 2.8
system... I can't give you mine, there's are copyrights involved and a
lot of proprietary stuff from my company.
You have to get them yourself from /usr/include and /usr/lib on a *real*
solaris2.8 installed system.
From: firstname.lastname@example.org [ mailto:email@example.com ] On Behalf
Of J-C Louis
Sent: Tuesday, October 30, 2001 12:04
Subject: Re: Installing a cross compiler
Jean-Sebastien Trottier a ÃÂ©crit :
> First, you need the content of /usr/include and /usr/lib from a
> solaris2.8 system. These are not completely compatible with gcc's and
> newlib's headers you'll need to do some modifications and it might get
> pretty confusing.
Thank you for your reply.
Where are you find the content of /usr/include and /usr/lib from
You have the files "sparc-sun-solaris2.8.lib.ta.bz2" and "sparc-sun-
solaris2.8.include.tar.bz2" in your script but I would know where
are you find these files
> I made a pretty neat makefile to automatically build all my
> cross-compilers, attached is the output of 'make
> TARGET=sparc-sun-solaris2.8 cross -n'... you can use it as a template.
> There's a lot of options you won't necessarily need though.
> I also suggest you don't use RedHat's gcc 2.96 (it's a highly patched
> pre-release of gcc 3)... you should first build a native 2.95.3
> bootstrap gcc.
Yes, I don't use gcc 2.96. I try to make a cross-compiler with a
3.0.1 gcc version but the compilation failed too.
I think the 2.95.3 is the latest stable version.
> Also, I could never get the posix/solaris threads working correctly
> the headers I got. So I use --enable-threads=single since I don't need
> them anyway for my own compiles.
> Hope this help...
> I don't really have time to be more elaborate but I'm sure it'll give
> you a head start.
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to firstname.lastname@example.org
More information about the crossgcc