summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/cross-make
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-09-18 05:35:50 +0000
committerpeter <peter@FreeBSD.org>1996-09-18 05:35:50 +0000
commitd4691e641ba47cb86eef80f5c879e13f9d961724 (patch)
tree5b7ea73fc49c8998d9dc87d3eeff5b96439e6856 /contrib/gcc/cross-make
downloadFreeBSD-src-d4691e641ba47cb86eef80f5c879e13f9d961724.zip
FreeBSD-src-d4691e641ba47cb86eef80f5c879e13f9d961724.tar.gz
Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the
non-i386, non-unix, and generatable files have been trimmed, but can easily be added in later if needed. gcc-2.7.2.1 will follow shortly, it's a very small delta to this and it's handy to have both available for reference for such little cost. The freebsd-specific changes will then be committed, and once the dust has settled, the bmakefiles will be committed to use this code.
Diffstat (limited to 'contrib/gcc/cross-make')
-rw-r--r--contrib/gcc/cross-make27
1 files changed, 27 insertions, 0 deletions
diff --git a/contrib/gcc/cross-make b/contrib/gcc/cross-make
new file mode 100644
index 0000000..33bf930
--- /dev/null
+++ b/contrib/gcc/cross-make
@@ -0,0 +1,27 @@
+# Build libgcc1.a for a cross-compiler.
+# By default this expects the user to provide libgcc1.a,
+# and gives up immediately if the user has not done so.
+LIBGCC1 = $(CROSS_LIBGCC1)
+
+# Specify tools and options for manipulating libraries for the target machine.
+AR = $(AR_FOR_TARGET)
+AR_FLAGS = $(AR_FOR_TARGET_FLAGS)
+OLDAR = $(AR_FOR_TARGET)
+OLDAR_FLAGS = $(AR_FOR_TARGET_FLAGS)
+RANLIB = $(RANLIB_FOR_TARGET)
+RANLIB_TEST = $(RANLIB_TEST_FOR_TARGET)
+
+# Dir to search for system headers. Normally /usr/include.
+SYSTEM_HEADER_DIR = $(tooldir)/include
+
+# Don't try to compile the things we can't compile.
+ALL = all.cross
+
+# Use cross-compiler version of float.h.
+FLOAT_H = $(CROSS_FLOAT_H)
+
+# Don't install assert.h in /usr/local/include.
+assertdir = $(tooldir)/include
+
+# Don't run fixproto
+STMP_FIXPROTO =
OpenPOWER on IntegriCloud