aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-06-04 08:21:31 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-06-04 08:21:31 +0000
commit21f6bc4b05eb3d93fce96ed4c1c1127db511c69f (patch)
tree3a0b1e9477cb2e6160c700e64fbffcc958bd2b52
parentc6d2f3514a57725780ace95a120243815e145505 (diff)
downloadsrc-21f6bc4b05eb3d93fce96ed4c1c1127db511c69f.tar.gz
src-21f6bc4b05eb3d93fce96ed4c1c1127db511c69f.zip
Import of a GCC 2.96 SNAPSHOT taken from the trunk of the GCC anoncvs
server on 3-June-2000.
Notes
Notes: svn path=/vendor/gcc/dist/; revision=61239
-rw-r--r--contrib/libio/config/beos.mt25
-rw-r--r--contrib/libio/config/dgux.mt25
-rw-r--r--contrib/libio/config/mpeix.mt20
-rw-r--r--contrib/libio/config/vxworks.mt1
4 files changed, 71 insertions, 0 deletions
diff --git a/contrib/libio/config/beos.mt b/contrib/libio/config/beos.mt
new file mode 100644
index 000000000000..9e3c519ed13b
--- /dev/null
+++ b/contrib/libio/config/beos.mt
@@ -0,0 +1,25 @@
+# Use the libio which comes with the local libc.
+
+# Comment this out to avoid including the stdio functions in libiostream.a:
+# LIBIOSTREAM_OBJECTS = $(IO_OBJECTS) $(IOSTREAM_OBJECTS) $(STDIO_WRAP_OBJECTS) $(OSPRIM_OBJECTS)
+# LIBIOSTREAM_DEP = $(LIBIOSTREAM_OBJECTS) stdio.list
+# LIBIOSTREAM_USE = $(LIBIOSTREAM_OBJECTS) `cat stdio.list`
+
+# Comment the above and uncomment the below to use the code in the Linux libc:
+# We have _G_config.h in /usr/include.
+_G_CONFIG_H=
+
+# We must not see the libio.h file from this library.
+LIBIO_INCLUDE=
+
+# We have those in libc.a.
+IO_OBJECTS= iogetline.o
+STDIO_WRAP_OBJECTS=
+OSPRIM_OBJECTS=
+STDIO_OBJECTS=
+
+# We have the rest in /usr/include.
+USER_INCLUDES=PlotFile.h SFile.h builtinbuf.h editbuf.h fstream.h \
+ indstream.h iomanip.h iostream.h istream.h ostream.h \
+ parsestream.h pfstream.h procbuf.h stdiostream.h stream.h \
+ streambuf.h strfile.h strstream.h
diff --git a/contrib/libio/config/dgux.mt b/contrib/libio/config/dgux.mt
new file mode 100644
index 000000000000..4731ef585a51
--- /dev/null
+++ b/contrib/libio/config/dgux.mt
@@ -0,0 +1,25 @@
+# Use the libio which comes with the local libc.
+
+# Comment this out to avoid including the stdio functions in libiostream.a:
+# LIBIOSTREAM_OBJECTS = $(IO_OBJECTS) $(IOSTREAM_OBJECTS) $(STDIO_WRAP_OBJECTS) $(OSPRIM_OBJECTS)
+# LIBIOSTREAM_DEP = $(LIBIOSTREAM_OBJECTS) stdio.list
+# LIBIOSTREAM_USE = $(LIBIOSTREAM_OBJECTS) `cat stdio.list`
+
+# Comment the above and uncomment the below to use the code in the Linux libc:
+# We have _G_config.h in /usr/include.
+_G_CONFIG_H=
+
+# We must not see the libio.h file from this library.
+LIBIO_INCLUDE=
+
+# We have those in libc.a.
+IO_OBJECTS= iogetline.o
+STDIO_WRAP_OBJECTS=
+OSPRIM_OBJECTS=
+STDIO_OBJECTS=
+
+# We have the rest in /usr/include.
+USER_INCLUDES=PlotFile.h SFile.h builtinbuf.h editbuf.h fstream.h \
+ indstream.h iomanip.h iostream.h istream.h ostream.h \
+ parsestream.h pfstream.h procbuf.h stdiostream.h stream.h \
+ streambuf.h strfile.h strstream.h
diff --git a/contrib/libio/config/mpeix.mt b/contrib/libio/config/mpeix.mt
new file mode 100644
index 000000000000..93199398f35b
--- /dev/null
+++ b/contrib/libio/config/mpeix.mt
@@ -0,0 +1,20 @@
+# Flags to pass to gen-params when building _G_config.h.
+# For example: G_CONFIG_ARGS = size_t="unsigned long"
+G_CONFIG_ARGS = DOLLAR_IN_LABEL=1
+
+#
+# gen-params tries to determine whether or not printf_fp exists by
+# simply compiling a test program. Since MPE is by definition a
+# shared runtime environment, this won't work unless the resulting
+# program is run. Simply run _G_config.h through a sed script to
+# update the values accordingly.
+#
+_G_CONFIG_H = stmp-Gconfig
+
+stmp-Gconfig: _G_config.h
+ sed -e "s/_G_HAVE_PRINTF_FP 1/_G_HAVE_PRINTF_FP 0/" \
+ -e "s/_G_HAVE_LONG_DOUBLE_IO 1/_G_HAVE_LONG_DOUBLE_IO 0/" \
+ <_G_config.h > tmp-config.h
+ mv -f tmp-config.h _G_config.h
+ touch stmp-Gconfig
+ $(MAKE) $(FLAGS_TO_PASS) _G_CONFIG_H=_G_config.h all
diff --git a/contrib/libio/config/vxworks.mt b/contrib/libio/config/vxworks.mt
new file mode 100644
index 000000000000..087e309d66d3
--- /dev/null
+++ b/contrib/libio/config/vxworks.mt
@@ -0,0 +1 @@
+G_CONFIG_ARGS = HAVE_PRINTF_FP=0 HAVE_LONG_DOUBLE_IO=0