Article View: gnu.gcc.help
Article #51859Re: Anyone using gcc cross to MIPS ?
From: David Pascoe
Date: Fri, 26 Mar 1993 03:28
Date: Fri, 26 Mar 1993 03:28
41 lines
2356 bytes
2356 bytes
Reposting this for Jim, whose poster is broken. From Jim.Vishoot@telematics.com.au Fri Mar 26 07:29:51 1993 Return-Path: <Jim.Vishoot@telematics.com.au> Subject: Re: Anyone using gcc cross to MIPS ? Newsgroups: gnu.gcc.help Organization: Telematics International, Inc. - Ft. Lauderdale, FL In article <3273@rhino.qpsx.oz.au> you write: >I have just installed gcc-2.3.3 and see that I cannot use it to cross >compile to MIPS because mip-tdump.c and mip-tfile.c can only be compiled >on a MIPS machine. Has anyone out there solved this problem ? What are >people using for MIPS cross compilation. IDT sell IDT/c but it looks >very much like gcc with very little else added. > >We would like to be able to use g++/gcc for our cross development environment. > >thanks, >davidp. You only need mips-tdump and mips-tfile if you are using the MIPS assembler (i.e., on a MIPS platform). GCC can be configured to generate assembly for GAS (the default, I suppose). I believe GAS 2.0 includes support for the MIPS cpu, so all you need is a linker...there's GNU LD (of course) in the binutils distribution, although you might be able to use your native ld if you can configure GAS to generate the same object format. And for the odd bug which crops up now and then, use GDB which likewise must be configured for the same object format. And now a word from our sponsor .... Seriously, we've been using this tool chain (GCC-GAS-GLD-GDB) for at least six months on Sparcs running SunOS 4.1.3 to cross develop for an embedded MIPS target (IDT 305x) with a fair amount of success. By the way, make sure GCC is configured to generate the right kind of debugging info for whatever debugger you plan to use. Makes life alot simpler. Jim Vishoot Telematics International, Inc.
Technical Details
Message-ID:
<3289@rhino.qpsx.oz.au>Path:
arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!uniwa!rhino!davidpReferences:
<3273@rhino.qpsx.oz.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,bad087145401a2d5 X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-03-26 16:24:54 PST Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!uniwa!rhino!davidp From: davidp@rhino.qpsx.oz.au (David Pascoe) Newsgroups: gnu.gcc.help Subject: Re: Anyone using gcc cross to MIPS ? Message-ID: <3289@rhino.qpsx.oz.au> Date: 26 Mar 93 03:28:54 GMT References: <3273@rhino.qpsx.oz.au> Organization: QPSX Communications LTD, Perth, Western Australia. Lines: 41 X-Newsreader: Tin 1.1 PL4