I think I'm having the same problem you reported with binutils-2.17 and 
gcc-3.4.6. I get:
gcc -DHAVE_CONFIG_H -I. -I../../embryo-toolchain/opcodes -I. -D_GNU_SOURCE -I. 
-I../../embryo-toolchain/opcodes -I../bfd 
-I../../embryo-toolchain/opcodes/../include 
-I../../embryo-toolchain/opcodes/../bfd 
-I../../embryo-toolchain/opcodes/../intl -I../intl -W -Wall -Wstrict-prototypes 
-Wmissing-prototypes -g -O2 -c ../../embryo-toolchain/opcodes/dis-buf.c  -fPIC 
-DPIC -o 
dis-buf.o
In file included from ../../embryo-toolchain/opcodes/dis-buf.c:21:
../../embryo-toolchain/opcodes/../include/dis-asm.h:38: error: 
expected '=', ',', ';', 'asm' or '__attribute__' 
before 'ATTRIBUTE_FPTR_PRINTF_2'

I noticed DIY uses both binutils-2.17 and gcc-3.4.6, and they don't seem to 
have any problem with it. This error is from my host's gcc-4.1.1. I also 
noticed uclinux has patches for binutils-2.17+gcc-3.4.6. Historically 
speaking, Binutils should be able to build with slightly older GCC versions.

robert

On Tuesday 03 October 2006 16:57, Robert Baker wrote:
> Ok, didn't make it home for lunch. I will up my edited book to my
> servers when I get home tonight, and post a link to the list.
> ---
> [This E-mail scanned for viruses courtesy of Netslyder,
> Inc.(http://www.netslyder.net)]

Attachment: pgpPwq21ZcbQ5.pgp
Description: PGP signature

-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to