This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
On Mon, 24 Mar 1997, Tony Bennett wrote: > Joel> FYI RTEMS includes the source for all ports (m68k, i386, i960, sparc, > Joel> powerpc, mips, amd 29k, and hp pa-risc) in a single integrated > Joel> source tree. > > And don't forget the one that is arguably most useful :-) the 'unix' port. Tony and I designed this port and he did most of the actual porting effort although I am sure he will happily share credit. :) The unix port has been used on at least 2 projects I know of (I was directly involved in one of them). It allows RTEMS applications to run as a unix process. UNIX signals are treated as RTEMS interrupts and context switches are performed via setjmp/longjmp. With a little thought and some magic, you can actually debug an enormous amount of your application using it. Thr project I was involved with moved from the unix port to real tactical hardware with very few problems -- most of which were poor documentation on the hardware. crossgcc users should be aware of tools like this and processor simulators. Tools like sis (sparc) and psim (powerpc) can save you untold number of hours versus debugging on real hw. psim is especially good at allowing you to hook in custom IO devices. Both sis and psim are integrated into gdb and simulators for other cpus are also freely available. I have just not used them. There are a lot of good free tools out there. Simulators can save a lot of time and heartache. --joel