This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mips assembly produced on a linux x86


Nick Brockner wrote:
Hi All,

I need to install a separate cross compiler on a Fedora Core 5 Linux box (2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 i686 i386 GNU/Linux)

So, I need a version of GCC that will only be run with the -S flag to make assembly output (edu environment) and not interfere with the currrently installed version of gcc on the box.

I have spent a bit of time on this, and have the latest tarballs of GCC, newlib, and binutils. However, I am running into issues when building the cross-compiler, and I am wondering if there is an easier way to go about this, especially since I only need gcc to produce assembly files for little endian mips targets.

I am using $TARGET=mipsel-linux and $PREFIX=/opt/crossgcc when building binutils and gcc, using these instructions found in another posting: (http://www.nabble.com/Build-my-own-cross-compiler-for-non-Linux-Targets-(MIPS,-ARM,-PPC)-td14168870.html):



I have had good luck with these instructions:


http://cross-lfs.org/view/svn/mips/


David Daney


--
For unsubscribe information see http://sourceware.org/lists.html#faq


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