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]

Re: GCC for m68k-unknown-coff



mmajka@cs5.dasd.honeywell.com said:
> I am trying to build GCC for a bare Motorola 68360 with the target 
> defined as m68k-unknown-coff.  The compiler itsel builds fine and 
> libgcc1.c compiles fine.  The problem is in libgcc2.c, which wants 
> stdio.h, which I don't have because I have no RTOS.

I've covered this subject is document for my embedded runtime. Basically,
you need to either apply a patch, or hack the tm.h file (generated by
configure) before building.

Look in <http://www.picturel.com/ucr/uCR.html> and follow the links
down to the chapter on building cross compilers.

-- 
Steve Williams
steve@icarus.com
steve@picturel.com

"The woods are lovely, dark and deep.  But I have promises to keep,
And lines to code before I sleep, And lines to code before I sleep."