Building native alpha-dec-vms-ld with a cross gcc/ld (host=i386-darwin):
/src/binutils/src/ld/ldmain.c: In function 'main':
/src/binutils/src/ld/ldmain.c:232:33: error: 'TARGET' undeclared (first use in
this function)
/src/binutils/src/ld/ldmain.c:232:33: note: each undeclared identifier is
reported only once for each function it appears in
/src/binutils/src/ld/ldmain.c: In function 'get_sysroot':
/src/binutils/src/ld/ldmain.c:598:32: error: 'BINDIR' undeclared (first use in
this function)
/src/binutils/src/ld/ldmain.c:602:32: error: 'TOOLBINDIR' undeclared (first use
in this function)
/src/binutils/src/ld/ldmain.c: In function 'get_emulation':
/src/binutils/src/ld/ldmain.c:620:17: error: 'DEFAULT_EMULATION' undeclared
(first use in this function)
This is caused by .o vs. obj, and therefore default rules are used and -DTARGET
is lost. Fix is .o => ....@objext@ in ld/Makefile.am.
Probably they don't all have to change.
Thanks,
- Jay
--
Summary: .o vs. obj => @OBJEXT@
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: jay dot krell at cornell dot edu
CC: bug-binutils at gnu dot org
GCC build triplet: i686-apple-darwin9
GCC host triplet: alpha-dec-vms
GCC target triplet: alpha-dec-vms
http://sourceware.org/bugzilla/show_bug.cgi?id=11621
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils