https://sourceware.org/bugzilla/show_bug.cgi?id=17065
Bug ID: 17065 Summary: Building z80-none-elf fails: gas/output-file.c:37:43: error: ‘TARGET_FORMAT’ undeclared (firs t use in this function) Product: binutils Version: 2.24 Status: NEW Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: hpa at zytor dot com Trying to build binutils for z80-none-elf fails with the error: gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.24/gas -I. -I../../binutils-2.24/gas -I../bfd -I../../binutils-2.24/gas/config -I../../binutils-2.24/gas/../include -I../../binutils-2.24/gas/.. -I../../binutils-2.24/gas/../bfd -DLOCALEDIR="\"/opt/z80/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT output-file.o -MD -MP -MF .deps/output-file.Tpo -c -o output-file.o ../../binutils-2.24/gas/output-file.c ../../binutils-2.24/gas/output-file.c: In function ‘output_file_cre ate’: ../../binutils-2.24/gas/output-file.c:37:43: error: ‘TARGET_FORMAT ’ undeclared (first use in this function) else if (!(stdoutput = bfd_openw (name, TARGET_FORMAT))) ^ ../../binutils-2.24/gas/output-file.c:37:43: note: each undeclared identifi er is reported only once for each function it appears in The configure command was: ../binutils-2.24/configure --target=z80-none-elf --prefix=/opt/z80 The same happes both with 2.24 and with git HEAD. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils