summaryrefslogtreecommitdiff
path: root/libiberty/config
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1997-08-21 22:57:35 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1997-08-21 22:57:35 +0000
commit28e9041cc224267271fbcd8db22bea115912365b (patch)
treea3b19970338bdae580faff126a716e1d5520400c /libiberty/config
parent5000a677980ebfb439f5349c5e269f7447dbab41 (diff)
downloadgcc-28e9041cc224267271fbcd8db22bea115912365b.tar.gz
Initial revision
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14877 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/config')
-rw-r--r--libiberty/config/mh-a68bsd2
-rw-r--r--libiberty/config/mh-aix10
-rw-r--r--libiberty/config/mh-apollo682
-rw-r--r--libiberty/config/mh-cxux73
-rw-r--r--libiberty/config/mh-cygwin322
-rw-r--r--libiberty/config/mh-go321
-rw-r--r--libiberty/config/mh-hpbsd2
-rw-r--r--libiberty/config/mh-irix44
-rw-r--r--libiberty/config/mh-ncr300019
-rw-r--r--libiberty/config/mh-riscix6
-rw-r--r--libiberty/config/mh-sysv1
-rw-r--r--libiberty/config/mh-sysv43
-rw-r--r--libiberty/config/mh-windows2
-rw-r--r--libiberty/config/mt-sunos42
-rw-r--r--libiberty/config/mt-vxworks528
15 files changed, 87 insertions, 0 deletions
diff --git a/libiberty/config/mh-a68bsd b/libiberty/config/mh-a68bsd
new file mode 100644
index 00000000000..3c5a237e60b
--- /dev/null
+++ b/libiberty/config/mh-a68bsd
@@ -0,0 +1,2 @@
+RANLIB=ranlib
+CC= cc -A ansi -A runtype,any -A systype,any -U__STDC__
diff --git a/libiberty/config/mh-aix b/libiberty/config/mh-aix
new file mode 100644
index 00000000000..c7b848d976a
--- /dev/null
+++ b/libiberty/config/mh-aix
@@ -0,0 +1,10 @@
+HDEFINES = -D__IEEE_BIG_ENDIAN
+RANLIB=true
+INSTALL=cp
+
+# Most releases of AIX 3.1 include an incorrect internal version of copysign
+# in libc.a for use by some libc public functions including modf. The public
+# version of copysign in libm.a is usable. For the sake of libg++ (which
+# uses modf), we add copysign here. Supposedly, this problem is fixed in AIX
+# 3.1.8 and above, including all releases of AIX 3.2.
+EXTRA_OFILES = copysign.o
diff --git a/libiberty/config/mh-apollo68 b/libiberty/config/mh-apollo68
new file mode 100644
index 00000000000..651770ce31c
--- /dev/null
+++ b/libiberty/config/mh-apollo68
@@ -0,0 +1,2 @@
+RANLIB=true
+CC= cc -A ansi -A runtype,any -A systype,any -U__STDC__
diff --git a/libiberty/config/mh-cxux7 b/libiberty/config/mh-cxux7
new file mode 100644
index 00000000000..6d4d30bf46f
--- /dev/null
+++ b/libiberty/config/mh-cxux7
@@ -0,0 +1,3 @@
+HDEFINES = -DHAVE_SYSCONF -DHARRIS_FLOAT_FORMAT
+RANLIB=true
+INSTALL = cp
diff --git a/libiberty/config/mh-cygwin32 b/libiberty/config/mh-cygwin32
new file mode 100644
index 00000000000..f45bdc8bad7
--- /dev/null
+++ b/libiberty/config/mh-cygwin32
@@ -0,0 +1,2 @@
+HDEFINES=-DNEED_sys_siglist -DNEED_basename -DNEED_strsignal
+EXTRA_OFILES=vasprintf.o random.o
diff --git a/libiberty/config/mh-go32 b/libiberty/config/mh-go32
new file mode 100644
index 00000000000..919290ef539
--- /dev/null
+++ b/libiberty/config/mh-go32
@@ -0,0 +1 @@
+HDEFINES=-DHAVE_GETRUSAGE
diff --git a/libiberty/config/mh-hpbsd b/libiberty/config/mh-hpbsd
new file mode 100644
index 00000000000..ce11dcd6ac9
--- /dev/null
+++ b/libiberty/config/mh-hpbsd
@@ -0,0 +1,2 @@
+# HPPA hosts using BSD
+RANLIB=true
diff --git a/libiberty/config/mh-irix4 b/libiberty/config/mh-irix4
new file mode 100644
index 00000000000..ace76782712
--- /dev/null
+++ b/libiberty/config/mh-irix4
@@ -0,0 +1,4 @@
+CC = cc -cckr
+RANLIB = true
+INSTALL = cp
+EXTRA_OFILES = alloca.o
diff --git a/libiberty/config/mh-ncr3000 b/libiberty/config/mh-ncr3000
new file mode 100644
index 00000000000..3a45c22b128
--- /dev/null
+++ b/libiberty/config/mh-ncr3000
@@ -0,0 +1,19 @@
+# Host configuration file for an NCR 3000 (i486/SVR4) system.
+
+# The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
+# This compiler not only emits obnoxious copyright messages every time
+# you run it, but it chokes and dies on a whole bunch of GNU source
+# files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
+# Unfortunately though, the AT&T compiler sometimes generates code that
+# the assembler barfs on if -g is used, so disable it by default as well.
+CC = /usr/ccs/ATT/cc
+CFLAGS =
+
+RANLIB = true
+
+# The /usr/ucb/install program is incompatible (complains about unknown
+# group staff). Use good old cp...
+INSTALL = cp
+
+# The l flag generates a warning from the SVR4 archiver, remove it.
+AR_FLAGS = cq
diff --git a/libiberty/config/mh-riscix b/libiberty/config/mh-riscix
new file mode 100644
index 00000000000..0209279de56
--- /dev/null
+++ b/libiberty/config/mh-riscix
@@ -0,0 +1,6 @@
+# The native linker only reports the first undefined symbol if linking with a
+# shared library. So build using gcc and link statically (this requires
+# gcc 2.6.0 or above).
+
+ERRORS_CC = gcc
+ERRORS_LDFLAGS = -static
diff --git a/libiberty/config/mh-sysv b/libiberty/config/mh-sysv
new file mode 100644
index 00000000000..eb102d55010
--- /dev/null
+++ b/libiberty/config/mh-sysv
@@ -0,0 +1 @@
+RANLIB=true
diff --git a/libiberty/config/mh-sysv4 b/libiberty/config/mh-sysv4
new file mode 100644
index 00000000000..4d1aa3cd61d
--- /dev/null
+++ b/libiberty/config/mh-sysv4
@@ -0,0 +1,3 @@
+HDEFINES = -DHAVE_SYSCONF
+RANLIB=true
+INSTALL = cp
diff --git a/libiberty/config/mh-windows b/libiberty/config/mh-windows
new file mode 100644
index 00000000000..f20c51f2191
--- /dev/null
+++ b/libiberty/config/mh-windows
@@ -0,0 +1,2 @@
+HDEFINES=-DNEED_basename -DNEED_sys_siglist -DNEED_strsignal -DNO_SYS_FILE_H
+EXTRA_OFILES=strcasecmp.o vasprintf.o
diff --git a/libiberty/config/mt-sunos4 b/libiberty/config/mt-sunos4
new file mode 100644
index 00000000000..c25baa6ead6
--- /dev/null
+++ b/libiberty/config/mt-sunos4
@@ -0,0 +1,2 @@
+XTRAFLAGS = -isystem /s1/cygnus/dejagnu/sparc-sun-sunos4.1.3/include/
+LOADLIBES = -L/s1/cygnus/dejagnu/sparc-sun-sunos4.1.3/lib
diff --git a/libiberty/config/mt-vxworks5 b/libiberty/config/mt-vxworks5
new file mode 100644
index 00000000000..916d69e5521
--- /dev/null
+++ b/libiberty/config/mt-vxworks5
@@ -0,0 +1,28 @@
+# VxWorks 5.x target Makefile fragment.
+# The autoconfiguration fails for a VxWorks target, because the
+# libraries are actually on the target board, not in the file system.
+# Therefore, we compute the dependencies by hand.
+
+HDEFINES = -DNO_SYS_PARAM_H -DNO_SYS_FILE_H
+CONFIG_H = vxconfig.h
+NEEDED_LIST = vxneeded-list
+
+vxconfig.h: Makefile
+ if [ -f ../newlib/Makefile ]; then \
+ $(MAKE) $(FLAGS_TO_PASS) xconfig.h; \
+ cp xconfig.h vxconfig.h; \
+ else \
+ echo "#define NEED_sys_nerr 1" >vxconfig.h; \
+ echo "#define NEED_sys_errlist 1" >>vxconfig.h; \
+ echo "#define NEED_sys_siglist 1" >>vxconfig.h; \
+ echo "#define NEED_strsignal 1" >>vxconfig.h; \
+ echo "#define NEED_psignal 1" >>vxconfig.h; \
+ fi
+
+vxneeded-list: Makefile
+ if [ -f ../newlib/Makefile ]; then \
+ $(MAKE) $(FLAGS_TO_PASS) xneeded-list; \
+ cp xneeded-list vxneeded-list; \
+ else \
+ echo getopt.o getpagesize.o insque.o random.o strcasecmp.o strncasecmp.o strdup.o vfork.o waitpid.o vasprintf.o >vxneeded-list; \
+ fi