diff options
author | obrien <obrien@FreeBSD.org> | 1999-10-04 08:12:38 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1999-10-04 08:12:38 +0000 |
commit | 2cef6469c5bfaca5647a9b7478a519d0de7d7b64 (patch) | |
tree | c4269807b0fce0fd2dace52f52c7fed66591d0ab /contrib/libstdc++/config | |
parent | aa3f6dfa3a994a96f224c10d1e4959d46572798b (diff) | |
download | FreeBSD-src-2cef6469c5bfaca5647a9b7478a519d0de7d7b64.zip FreeBSD-src-2cef6469c5bfaca5647a9b7478a519d0de7d7b64.tar.gz |
Virgin import of EGCS 1.1.2's libstdc++
Diffstat (limited to 'contrib/libstdc++/config')
-rw-r--r-- | contrib/libstdc++/config/aix.ml | 8 | ||||
-rw-r--r-- | contrib/libstdc++/config/dec-osf.ml | 6 | ||||
-rw-r--r-- | contrib/libstdc++/config/delta.mt | 2 | ||||
-rw-r--r-- | contrib/libstdc++/config/elf.ml | 8 | ||||
-rw-r--r-- | contrib/libstdc++/config/elfshlibm.ml | 6 | ||||
-rw-r--r-- | contrib/libstdc++/config/hpux.ml | 6 | ||||
-rw-r--r-- | contrib/libstdc++/config/irix5.ml | 6 | ||||
-rw-r--r-- | contrib/libstdc++/config/linux.ml | 6 | ||||
-rw-r--r-- | contrib/libstdc++/config/linux.mt | 2 | ||||
-rw-r--r-- | contrib/libstdc++/config/openbsd.ml | 7 | ||||
-rw-r--r-- | contrib/libstdc++/config/openbsd.mt | 3 | ||||
-rw-r--r-- | contrib/libstdc++/config/sol2shm.ml | 6 | ||||
-rw-r--r-- | contrib/libstdc++/config/sunos4.ml | 9 |
13 files changed, 75 insertions, 0 deletions
diff --git a/contrib/libstdc++/config/aix.ml b/contrib/libstdc++/config/aix.ml new file mode 100644 index 0000000..cd96870 --- /dev/null +++ b/contrib/libstdc++/config/aix.ml @@ -0,0 +1,8 @@ +# AIX has wierd shared/non-shared libraries. + +ARLIB = libstdc++-ar.a +SHLINK = libstdc++.a +LIBS = $(ARLIB) $(SHLIB) $(SHLINK) +DEPLIBS = ../$(SHLIB) +SHDEPS = -lm +SHFLAGS = -Wl,-unix diff --git a/contrib/libstdc++/config/dec-osf.ml b/contrib/libstdc++/config/dec-osf.ml new file mode 100644 index 0000000..618c6c8 --- /dev/null +++ b/contrib/libstdc++/config/dec-osf.ml @@ -0,0 +1,6 @@ +# We don't need -fpic on the alpha, so let's install both the shared and +# non-shared versions. + +LIBS = $(ARLIB) $(SHLIB) $(SHLINK) +DEPLIBS = ../$(SHLIB) +SHDEPS = -lm diff --git a/contrib/libstdc++/config/delta.mt b/contrib/libstdc++/config/delta.mt new file mode 100644 index 0000000..b0b36db --- /dev/null +++ b/contrib/libstdc++/config/delta.mt @@ -0,0 +1,2 @@ +# If FPU instructions are generated by default, we have to use a special libm.a +MLDLIBS = $(LDLIBS) `case "$(CXXFLAGS)" in *-m68000* | *-mc68000* | *-msoft-float* ) echo -lm ;; * ) echo -lm881 ;; esac` diff --git a/contrib/libstdc++/config/elf.ml b/contrib/libstdc++/config/elf.ml new file mode 100644 index 0000000..2a5f336 --- /dev/null +++ b/contrib/libstdc++/config/elf.ml @@ -0,0 +1,8 @@ +# Elf without shared libm -- we have to link with the archive library, even +# for programs that don't use complex. + +LIBS = $(ARLIB) $(SHLIB) $(SHLINK) +SHFLAGS = -h $(SHLIB) +DEPLIBS = ../$(SHLIB) +LDLIBS = -L.. -lstdc++ -lm +MLDLIBS = -L.. -lstdc++ -lm diff --git a/contrib/libstdc++/config/elfshlibm.ml b/contrib/libstdc++/config/elfshlibm.ml new file mode 100644 index 0000000..fe2bf3f --- /dev/null +++ b/contrib/libstdc++/config/elfshlibm.ml @@ -0,0 +1,6 @@ +# Elf with shared libm, so we can link it into the shared libstdc++. + +LIBS = $(ARLIB) $(SHLIB) $(SHLINK) +SHFLAGS = -h $(SHLIB) +SHDEPS = -lm +DEPLIBS = ../$(SHLIB) diff --git a/contrib/libstdc++/config/hpux.ml b/contrib/libstdc++/config/hpux.ml new file mode 100644 index 0000000..1531fe8 --- /dev/null +++ b/contrib/libstdc++/config/hpux.ml @@ -0,0 +1,6 @@ +# HPUX uses the .sl suffix for shared libraries. + +SHLIB = libstdc++.sl +LIBS = $(ARLIB) $(SHLIB) +DEPLIBS = ../$(SHLIB) +SHFLAGS = $(PICFLAG) diff --git a/contrib/libstdc++/config/irix5.ml b/contrib/libstdc++/config/irix5.ml new file mode 100644 index 0000000..6b33445 --- /dev/null +++ b/contrib/libstdc++/config/irix5.ml @@ -0,0 +1,6 @@ +# We don't need -fpic on IRIX, so let's install both the shared and +# non-shared versions. + +LIBS = $(ARLIB) $(SHLIB) $(SHLINK) +DEPLIBS = ../$(SHLIB) +SHDEPS = -lm diff --git a/contrib/libstdc++/config/linux.ml b/contrib/libstdc++/config/linux.ml new file mode 100644 index 0000000..7e6eece --- /dev/null +++ b/contrib/libstdc++/config/linux.ml @@ -0,0 +1,6 @@ +# Elf with shared libm, so we can link it into the shared libstdc++. + +LIBS = $(ARLIB) $(SHLIB) $(SHLINK) mshlink +SHFLAGS = -Wl,-soname,$(MSHLINK) +SHDEPS = -lm +DEPLIBS = ../$(SHLIB) diff --git a/contrib/libstdc++/config/linux.mt b/contrib/libstdc++/config/linux.mt new file mode 100644 index 0000000..5848851 --- /dev/null +++ b/contrib/libstdc++/config/linux.mt @@ -0,0 +1,2 @@ +# tell we want the mt-safe version +MT_CFLAGS = -D_IO_MTSAFE_IO diff --git a/contrib/libstdc++/config/openbsd.ml b/contrib/libstdc++/config/openbsd.ml new file mode 100644 index 0000000..0d278f6 --- /dev/null +++ b/contrib/libstdc++/config/openbsd.ml @@ -0,0 +1,7 @@ +# Base shared lib for OpenBSD i386 + +LIBS = $(ARLIB) $(SHLIB) $(SHLINK) mshlink +SHFLAGS = -nostdlib -Wl,-Bshareable,-Bforcearchive +SHDEPS = -lm +DEPLIBS = ../$(SHLIB) + diff --git a/contrib/libstdc++/config/openbsd.mt b/contrib/libstdc++/config/openbsd.mt new file mode 100644 index 0000000..29da11c --- /dev/null +++ b/contrib/libstdc++/config/openbsd.mt @@ -0,0 +1,3 @@ +# tell we want the mt-safe version +MT_CFLAGS = -D_IO_MTSAFE_IO -D_PTHREADS + diff --git a/contrib/libstdc++/config/sol2shm.ml b/contrib/libstdc++/config/sol2shm.ml new file mode 100644 index 0000000..f02650c --- /dev/null +++ b/contrib/libstdc++/config/sol2shm.ml @@ -0,0 +1,6 @@ +# Solaris2 with shared libm, so we can link it into the shared libstdc++. + +LIBS = $(ARLIB) $(SHLIB) $(SHLINK) +SHFLAGS = -h $(SHLIB) +SHDEPS = -lm +DEPLIBS = ../$(SHLIB) diff --git a/contrib/libstdc++/config/sunos4.ml b/contrib/libstdc++/config/sunos4.ml new file mode 100644 index 0000000..0abc13c --- /dev/null +++ b/contrib/libstdc++/config/sunos4.ml @@ -0,0 +1,9 @@ +# SunOS doesn't provide a shared libm, so we have to link with the archive +# library, even for programs that don't use complex. +# SunOS requires a version number in shared library filenames. + +LIBS = $(ARLIB) $(SHLIB) +SHFLAGS = $(PICFLAG) +DEPLIBS = ../$(SHLIB) +LDLIBS = -L.. -lstdc++ -lm +MLDLIBS = -L.. -lstdc++ -lm |