More MIPS Compiling Problems...
lists@morris-clan.net
lists@morris-clan.net
Wed May 23 08:43:00 GMT 2001
Ok, I solved the last problem (found the correct PATH setting), and
several problems since then.
Just a reminder of the situation:
Target: R3000 compatible processor (using mips-elf target)
Host: Solaris 2.8/UltraSparc 10
Binutils compiles fine, but GCC fails.
Here is my current error:
/usr/local/bin/gcc -DCROSS_COMPILE -DIN_GCC -DSVR4 -g -O2 \
-DHAVE_CONFIG_H -o gen-protos gen-protos.o scan.o libcpp.a \
` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` \
case "alloca.o" in ?*) echo alloca.o ;; esac ` ` case "" in \
?*) echo ;; esac ` ` case "" in ?*) echo ;; esac ` ` case "" \
in ?*) echo ;; esac `
ld: warning: file libcpp.a ignored: unable to locate archive symbol table
Undefined first referenced
symbol in file
xrealloc scan.o
hashf gen-protos.o
xmalloc scan.o
ld: fatal: Symbol referencing errors. No output written to
gen-protos
collect2: ld returned 1 exit status
make[1]: *** [gen-protos] Error 1
make[1]: Leaving directory
`/usr/share/src/elf/build-gcc-2.95.3-mips-elf/gcc'
make: *** [cross] Error 2
I am currently using the configure/make entries: (from a build directory)
../gcc-2.95.3/configure \
--target=mips-elf \
--prefix=/usr/gnu/gcc-mips-elf \
--with-gnu-ar \
--with-gnu-as \
--with-gnu-ld \
--with-headers=/usr/include \
-v
make cross
Any sugestions?
--David
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list