This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: linux-2.1.60/i586,glibc-2.0.5c,egcs-971114 snapshot :)





On Sat, 22 Nov 1997, Jeffrey A Law wrote:

>   > > Well, for many you can use the latest newlib release.
>   > 
>   > ???? newlib release ????
> newlib is a ANSI C library.  It's what Cygnus uses for most of its cross
> builds.  I also believe it's used by RTEMS.
> 
> ftp.cygnus.com:pub/newlib

Yes.  newlib is the official C Library of RTEMS.  AFAIK RTEMS is the only
OS for which that is the case.

>   > 	I don't have immediate access to some of the hardware.....
>   > 	... and there's no Win32 emulator available... that works.
> Which is why an instruction set simulator is so useful; not I'm not talking
> about hardware, I'm talking about a program that simulates the ISA of a
> particular chip.

psim for the PowerPC and sis for the SPARC ERC32 are both very good
simulators.  Both can be viewed as a simple embedded target with a serial
port for console IO and a timer. 

>   > So how do I build a cross-compiler?
> I really don't have the time to discuss all the aspects of building a
> cross compiler, because doing so also requires additional tools (cross
> assembler, cross linker, cross binutils, target include files, target
> libraries, etc etc).

The best thing to do is read the crossgcc FAQ at
ftp.cygnus.com:/pub/embedded/crossgcc.

Good Luck.

--joel
Joel Sherrill                    Director of Research & Development
joel@OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (205) 722-9985





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