diff options
author | Jason Merrill <jason@gcc.gnu.org> | 1997-08-21 18:57:35 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1997-08-21 18:57:35 -0400 |
commit | 6599da043e22e96ac830fb50a61c1b6d95d1b142 (patch) | |
tree | a3b19970338bdae580faff126a716e1d5520400c /libiberty/config | |
parent | 8975416cfb6269ad94b6330d42960cca8b0925b7 (diff) | |
download | gcc-6599da043e22e96ac830fb50a61c1b6d95d1b142.zip gcc-6599da043e22e96ac830fb50a61c1b6d95d1b142.tar.gz gcc-6599da043e22e96ac830fb50a61c1b6d95d1b142.tar.bz2 |
Initial revision
From-SVN: r14877
Diffstat (limited to 'libiberty/config')
-rw-r--r-- | libiberty/config/mh-a68bsd | 2 | ||||
-rw-r--r-- | libiberty/config/mh-aix | 10 | ||||
-rw-r--r-- | libiberty/config/mh-apollo68 | 2 | ||||
-rw-r--r-- | libiberty/config/mh-cxux7 | 3 | ||||
-rw-r--r-- | libiberty/config/mh-cygwin32 | 2 | ||||
-rw-r--r-- | libiberty/config/mh-go32 | 1 | ||||
-rw-r--r-- | libiberty/config/mh-hpbsd | 2 | ||||
-rw-r--r-- | libiberty/config/mh-irix4 | 4 | ||||
-rw-r--r-- | libiberty/config/mh-ncr3000 | 19 | ||||
-rw-r--r-- | libiberty/config/mh-riscix | 6 | ||||
-rw-r--r-- | libiberty/config/mh-sysv | 1 | ||||
-rw-r--r-- | libiberty/config/mh-sysv4 | 3 | ||||
-rw-r--r-- | libiberty/config/mh-windows | 2 | ||||
-rw-r--r-- | libiberty/config/mt-sunos4 | 2 | ||||
-rw-r--r-- | libiberty/config/mt-vxworks5 | 28 |
15 files changed, 87 insertions, 0 deletions
diff --git a/libiberty/config/mh-a68bsd b/libiberty/config/mh-a68bsd new file mode 100644 index 0000000..3c5a237 --- /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 0000000..c7b848d --- /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 0000000..651770c --- /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 0000000..6d4d30b --- /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 0000000..f45bdc8 --- /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 0000000..919290e --- /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 0000000..ce11dcd --- /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 0000000..ace7678 --- /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 0000000..3a45c22 --- /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 0000000..0209279 --- /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 0000000..eb102d5 --- /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 0000000..4d1aa3c --- /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 0000000..f20c51f --- /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 0000000..c25baa6 --- /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 0000000..916d69e --- /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 |