[Top] [All Lists]

Re: Booting off of sdb1...

To: Miguel de Icaza <>
Subject: Re: Booting off of sdb1...
From: Alex deVries <>
Date: Wed, 3 Sep 1997 01:44:34 -0400 (EDT)
In-reply-to: <>
Reply-to: Alex deVries <>
On Tue, 2 Sep 1997, Miguel de Icaza wrote:
> You need to get the binutils tar file as it was made available on
>, not the cross-compiler kit, nor the 2.8.1 release
> from the FSF.  

Okay, I'm getting closer.

I believe the correct version is binutils-2.7.tar.gz, patched with  I'd have
used the patch for binutils-, but I can't find the original

I did a ./configure --target=mips-big-linux (since mips-unknown-linux
produces a functional little endian binutils, which is useless for my

I end up with this error when I compile binutils:

gcc -O2    -g  -DTARGET_BYTES_BIG_ENDIAN  -o targ-cpu.o
obj-format.o atof-targ.o app.o as.o atof-generic.o bignum-copy.o cond.o
expr.o flonum-konst.o flonum-copy.o flonum-mult.o frags.o hash.o
input-file.o input-scrub.o literal.o messages.o output-file.o read.o
subsegs.o symbols.o write.o listing.o ecoff.o stabs.o sb.o macro.o
e-mipself.o  -L.../opcodes -lopcodes -L../bfd -lbfd
targ-cpu.o: In function `md_begin':
/home/binutils-2.7/gas/targ-cpu.c:826: undefined reference to
targ-cpu.o: In function `mips_elf_final_processing':
/home/binutils-2.7/gas/targ-cpu.c:7863: undefined reference to
/home/binutils-2.7/gas/targ-cpu.c:7879: undefined reference to
make[1]: *** [] Error 1
make[1]: Leaving directory `/home/binutils-2.7/gas'
make: *** [all-gas] Error 2

NB:  There's no problem with compiling with --target=mips-unknown-linux.

Ideas?  How have other people gotten around this?

Thanks for getting me started again, Miguel.

- Alex

<Prev in Thread] Current Thread [Next in Thread>