This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Installing a cross compiler


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.

Bonne chance!

-----Original Message-----
From: louis@proxima.sacet.fr [mailto:louis@proxima.sacet.fr] On Behalf
Of J-C Louis
Sent: Tuesday, October 30, 2001 12:04
To: jst1@email.com
Cc: crossgcc@sourceware.cygnus.com
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
solaris?
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
with
> 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 crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]