This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


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

Canadian Cross for i960


Hello,

I'm trying to build a dos cross compiler for the i960 using the
instructions for the Canadian Cross.  I'm using:

binutils-2.7
gcc-2.7.2.1
newlib-1.7.1
crossgcc-gcc-2.7.2.1.patch

and build-3way.sh from cygnus' ftp cite.

I've setup the necessary variables in build-3way.sh as follows:

build=i386-linux
host=i386-go32
target=i960-coff
src=$here/src
rel=/tmp/test
relexec=$rel/H-${host}

My system is RedHat Linux 5.0.  The problem I run into is an undefined
referrence ___eprintf.
Below are the last few lines of output.

Any help would be really appreciated.

Thanks,

Pete


make[1]: Entering directory
`/home/pete/crossgcc/compile/b-i386-go32-x-i960-coff/gcc'
/home/pete/crossgcc/compile/b-i386-linux-x-i386-go32/gcc/xgcc
-B/home/pete/crossgcc/compile/b-i386-linux-x-i386-go32/gcc/ -isystem
/home/pete/crossgcc/compile/src/winsup/include -isystem
/home/pete/crossgcc/compile/b-i386-linux-x-i386-go32/i386-go32/newlib/targ-include
-isystem /home/pete/crossgcc/compile/src/newlib/libc/include
-DCROSS_COMPILE -DIN_GCC   -O   -o cc1 c-parse.o c-lang.o c-lex.o
c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o
c-iterate.o toplev.o version.o tree.o print-tree.o stor-layout.o
fold-const.o function.o stmt.o expr.o calls.o expmed.o explow.o optabs.o
varasm.o rtl.o print-rtl.o rtlanal.o emit-rtl.o real.o dbxout.o sdbout.o
dwarfout.o xcoffout.o integrate.o jump.o cse.o loop.o unroll.o flow.o
stupid.o combine.o regclass.o local-alloc.o global.o reload.o reload1.o
caller-save.o insn-peep.o reorg.o sched.o final.o recog.o reg-stack.o
insn-opinit.o insn-recog.o insn-extract.o insn-output.o insn-emit.o
insn-attrtab.o i960.o getpwd.o convert.o  bc-emit.o bc-optab.o obstack.o
` case "/home/pete/crossgcc/compile/b-i386-linux-x-i386-go32/gcc/xgcc
-B/home/pete/crossgcc/compile/b-i386-linux-x-i386-go32/gcc/ -isystem
/home/pete/crossgcc/compile/src/winsup/include -isystem
/home/pete/crossgcc/compile/b-i386-linux-x-i386-go32/i386-go32/newlib/targ-include
-isystem /home/pete/crossgcc/compile/src/newlib/libc/include" in "cc")
echo "" ;; esac `
i960.o(.text+0x2f79):i960.c: undefined reference to `___eprintf'
make[1]: *** [cc1] Error 1
make[1]: Leaving directory
`/home/pete/crossgcc/compile/b-i386-go32-x-i960-coff/gcc'
make: *** [all-gcc] Error 2
make: Leaving directory
`/home/pete/crossgcc/compile/b-i386-go32-x-i960-coff'