Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Apr 2003 13:15:18 -0700 (PDT)
From:      "David E. O'Brien" <obrien@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 29891 for review
Message-ID:  <200304272015.h3RKFIwV059697@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=29891

Change 29891 by obrien@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304272015.h3RKFIwV059697>