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


>-----Original Message-----
>From: Jean-Sebastien Trottier [mailto:jstrot@home.com]
>Sent: 30 October 2001 15:16


>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.

  You shouldn't use newlib with solaris.  Glibc is the proper full C library
but newlib is only a simple cut-down C library for embedded work.

>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.

  It's quite conceivable that trying to use newlib is what caused that
problem.

      DaveK
-- 
Burn your ID card!  http://www.optional-identity.org.uk/
Help support the campaign, copy this into your .sig!


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

------
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]