OKUJI Yoshinori <[EMAIL PROTECTED]> wrote:
> 
> > ftp://metalab.unc.edu/pub/gnu/binutils/binutils-2.9.1.tar.gz new
> > enough?  Mine is 2.9.1.0.25.  I didn't see a binutils on
> > alpha.gnu.org.
> 
>   2.9.1 is too old for us. 2.9.1.0.25 is enough new. Please do not
> bother me with saying "where can I find a later binutils?". Why not
> read README?

I got it built with 2.9.5, but it did not work with 2.9.1.0.25 as the
README claims.  The output of "gcc -Wl,-v" was:

    collect2 version egcs-2.91.66 Debian GNU/Linux (egcs-1.1.2 release) (i386 
Linux/ELF)
    /usr/bin/ld -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 /usr/lib/crt1.o 
/usr/lib/crti.o /usr/lib/gcc-lib/i486-linux/egcs-2.91.66/crtbegin.o 
-L/usr/lib/gcc-lib/i486-linux/egcs-2.91.66 -v -lgcc -lc -lgcc 
/usr/lib/gcc-lib/i486-linux/egcs-2.91.66/crtend.o /usr/lib/crtn.o
    /usr/lib/crt1.o(.text+0x18): undefined reference to `main'
    GNU ld version 2.9.1 (with BFD 2.9.1.0.25)
    collect2: ld returned 1 exit status

(I believe that ld truncates its version number here from "2.9.1.0.25"
to "2.9.1", since after installing Binutils version 2.9.5.0.10, the
output is "GNU ld version 2.9.5 (with BFD 2.9.5.0.10)".)

The end of grub's config.log was:

    configure:1570: checking whether addr32 must be in the same line as the instruction
    configure:1579: gcc -c conftest.s
    conftest.s: Assembler messages:
    conftest.s:2: Error: operands given don't match any known 386 instruction
    configure:1611: checking for .code16 addr32 assembler support
    configure:1620: gcc -c conftest.s
    conftest.s: Assembler messages:
    conftest.s:2: Error: operands given don't match any known 386 instruction

Perhaps the README should refer to Binutils 2.9.5.0.10.  Also, I did
not see the binutils package at ftp.us.kernel.org but instead found it
in ftp://ftp.debian.org/debian/project/experimental/.

Thanks

Reply via email to