﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
2640	"binutils in Chapter 6 ""error"" about /usr/bin/file on x86_64"	Ivan Wagner	bdubbs@…	"I am seeing the below message when compiling binutils in Chapter 6:

/sources/binutils/bfd/configure: line 7240: /usr/bin/file: No such file or directory

/sources/binutils/opcodes/configure: line 6975: /usr/bin/file: No such file or directory

/sources/binutils/binutils/configure: line 7000: /usr/bin/file: No such file or directory

/sources/binutils/gas/configure: line 6957: /usr/bin/file: No such file or directory

/sources/binutils/ld/configure: line 7345: /usr/bin/file: No such file or directory

For the heck of it I compiled file into /tools and symlinked it to /usr/bin/file, re-compiled binutils in a separate directory and compared the Makefiles.

The only difference was this:
< LD = /tools/lib/gcc/x86_64-unknown-linux-gnu/4.4.3/../../../../x86_64-unknown-linux-gnu/bin/ld -m elf_x86_64
---
> LD = /tools/lib/gcc/x86_64-unknown-linux-gnu/4.4.3/../../../../x86_64-unknown-linux-gnu/bin/ld

according to the ld man page:
""If the -m option is not used, the emulation is taken from the ""LDEMULATION"" environment variable, if that is defined.

Otherwise, the default emulation depends upon how the linker was configured.""

So it appears to not be a problem but I thought I would mention it since I didn't see any mention of it on the book or when searching the website."	task	closed	lowest	6.7	Book	SVN	trivial	fixed		
