summaryrefslogtreecommitdiff
path: root/boehm-gc/Makefile.direct
diff options
context:
space:
mode:
authorneroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-20 01:48:51 +0000
committerneroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-20 01:48:51 +0000
commit0d5d1e49b3b8b3eced7a69e45d4aabe4998d4b13 (patch)
treef4b115dae0cf9f01a2da88d5dfd6cc6f105f5515 /boehm-gc/Makefile.direct
parent6cf3854dee11bea1543cb3d9ce1042fbed6b779a (diff)
downloadgcc-0d5d1e49b3b8b3eced7a69e45d4aabe4998d4b13.tar.gz
* Makefile.direct, alloc.c: Resync to upstream 6.3 alpha 1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78142 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc/Makefile.direct')
-rw-r--r--boehm-gc/Makefile.direct15
1 files changed, 11 insertions, 4 deletions
diff --git a/boehm-gc/Makefile.direct b/boehm-gc/Makefile.direct
index a884ee5e0bf..52b9137a922 100644
--- a/boehm-gc/Makefile.direct
+++ b/boehm-gc/Makefile.direct
@@ -10,13 +10,20 @@
# c++ interface to gc.a
# cord/de - builds dumb editor based on cords.
ABI_FLAG=
+# ABI_FLAG should be the cc flag that specifies the ABI. On most
+# platforms this will be the empty string. Possible values:
+# +DD64 for 64-bit executable on HP/UX.
+# -n32, -n64, -o32 for SGI/MIPS ABIs.
+
+AS_ABI_FLAG=$(ABI_FLAG)
+# ABI flag for assembler. On HP/UX this is +A64 for 64 bit
+# executables.
+
CC=cc $(ABI_FLAG)
CXX=g++ $(ABI_FLAG)
-AS=as $(ABI_FLAG)
+AS=as $(AS_ABI_FLAG)
# The above doesn't work with gas, which doesn't run cpp.
# Define AS as `gcc -c -x assembler-with-cpp' instead.
-# Under Irix 6, you will have to specify the ABI (-o32, -n32, or -64)
-# if you use something other than the default ABI on your machine.
# Redefining srcdir allows object code for the nonPCR version of the collector
# to be generated in different directories.
@@ -57,7 +64,7 @@ HOSTCFLAGS=$(CFLAGS)
# gc.h before performing thr_ or dl* or GC_ operations.)
# Must also define -D_REENTRANT.
# -DGC_SOLARIS_PTHREADS enables support for Solaris pthreads.
-# Define SOLARIS_THREADS as well.
+# (Internally this define GC_SOLARIS_THREADS as well.)
# -DGC_IRIX_THREADS enables support for Irix pthreads. See README.irix.
# -DGC_HPUX_THREADS enables support for HP/UX 11 pthreads.
# Also requires -D_REENTRANT or -D_POSIX_C_SOURCE=199506L. See README.hp.