bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/17065] New: Building z80-none-elf fails: gas/output-file.c


From: hpa at zytor dot com
Subject: [Bug binutils/17065] New: Building z80-none-elf fails: gas/output-file.c:37:43: error: ‘TARGET_FORMAT’ undeclared (first use in this function)
Date: Wed, 18 Jun 2014 04:51:57 +0000

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]