PERFORCE change 29891 for review
David E. O'Brien
obrien at FreeBSD.org
Sun Apr 27 13:15:20 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=29891
Change 29891 by obrien at obrien_trang on 2003/04/27 13:14:47
It's helpful to define TARGET_64BIT_DEFAULT. Unless one enjoys:
cc1: sorry, not implemented: 64-bit mode not compiled in
Affected files ...
.. //depot/projects/hammer/gnu/usr.bin/cc/cc_tools/Makefile#5 edit
Differences ...
==== //depot/projects/hammer/gnu/usr.bin/cc/cc_tools/Makefile#5 (text+ko) ====
@@ -143,6 +143,10 @@
echo 'union tree_node;' >> ${.TARGET}
echo 'typedef union tree_node *tree;' >> ${.TARGET}
echo '' >> ${.TARGET}
+# XXX: consider including i386/biarch64.h instead of below
+.if ${TARGET_ARCH} == "amd64"
+ echo '#define TARGET_64BIT_DEFAULT 1' >>${.TARGET}
+.endif
.if ${TARGET_ARCH} == "ia64"
echo '#define TARGET_CPU_DEFAULT (MASK_GNU_AS|MASK_GNU_LD)' >>${.TARGET}
.endif
More information about the p4-projects
mailing list