This is the mail archive of the crossgcc@sources.redhat.com 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]

gcc compiler for MIPS


Hi,

 I am trying to build gcc compiler for MIPS. I am able to build binutils
 successfully but while building gcc i'm encountering the following error
 
rm -f cpp
ln cccp cpp
gperf -L C -F ', 0, 0' -p -j1 -i 1 -g -o -t -G -N is_reserved_word \
   -k1,3,$
/mnt/engr224/sankhya/gnu/src/views/sathyas/src/gnu/gcc-2.95/gcc/c-parse.gperf
>tmp-gperf.h
gperf: unrecognized option `-F'
Usage: gperf
[-acCdDef[num]gGhH<hashname>i<init>jk<keys>K<keyname>lL<language>nN<function
name>oprs<size>S<switches>tTvZ<class name>].
(type gperf -h for help)
*** Error code 1
make: Fatal error: Command failed for target
`/mnt/engr224/sankhya/gnu/src/views/sathyas/src/gnu/gcc-2.95/gcc/c-gperf.h'
Current working directory
/mnt/engr224/sankhya/gnu/src/views/sathyas/gcc-solaris/gcc
*** Error code 1
make: Fatal error: Command failed for target `all-gcc'


I'm building in sun-solaris host and the target is mips-linux-elf

I'm using the following script file
#! /bin/sh
/mnt/engr224/sankhya/gnu/src/views/sathyas/src/gnu/gcc-2.95/configure
--target=mips-linux-elf
--prefix=/mnt/engr224/sankhya/gnu/release/sathyas/cross/mips/binutils
--with-newlib
--enable-languages="c,c++" --with-ar=/mnt/engr224/sankhya/gnu/
release/sathyas/cross/mips/binutils/bin/mips-linux-elf-ar
--with-as=/mnt/engr224
/sankhya/gnu/release/sathyas/cross/mips/binutils/bin/mips-linux-elf-as
--with-ld
=/mnt/engr224/sankhya/gnu/release/sathyas/cross/mips/binutils/bin/mips-linux-elf
-ld

/mnt/engr224/sathyas/gnu/release/sathyas/cross/mips/binutils - contains
already installed binutils binaries and library.

Please advise what i'm doing wrong.

i've also set the prefix/bin in the PATH.

Thanks,
sathya



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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