To: djgpp AT sun DOT soe DOT clarkson DOT edu Path: cygnus.com!cygnus.com!rob From: rob AT cygnus DOT com (Rob Savoye) Newsgroups: cygnus.djgpp Subject: Re: 68k cross-complile examples Date: 3 Apr 1995 17:23:31 -0700 Organization: Cygnus Support Lines: 25 Distribution: cygnus References: <9504032241 DOT AA00454 DOT cygnus DOT djgpp AT in-sequence DOT com> Nntp-Posting-Host: cygnus.com james AT in-sequence DOT com ("James A. Chase") writes: >I am getting the djgpp/68k cross compiler up and running and I >need some examples to cut the implementation hours. >including all necessary user-supplied target-specific functions >e.g char out to stdio, char in from stdio, sbrk(), etc >which we would customize to meet our target system (an MC68302 >based single board computer). We presently have our application You're on the wrong list, try crossgcc. Anyway, the brief answer is to ftp to ftp.cygnus.com:pub/embedded and grab the crossgcc patch for GCC 2.6.x. That'll add a decent m68k-coff support for ya. It's an improvement over the current sources cause they treat the CPU32 like a sun3. This patch fixes things for embedded use. Then grab libgloss from :pub/rob on the same machine. There is complete source code for mips, hppa, sparclite, m68k. There is also the beginnings of a manual "Embed with GNU" in libgloss/doc. Have fun! - rob - -- Cygnus Support << KERNEL: Panic, core dumped >> Headquarters PO Box 1548 Darkstar crashes, 1937 Landings Drive Nederland, CO 80466 pouring its light into ashes, Mountain View, CA 94043 +1 (303) 258-0506 reason tatters, ... +1 (415) 903-1400