summaryrefslogtreecommitdiff
path: root/libio/config
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-09-16 16:11:13 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-09-16 16:11:13 +0000
commit11d34120c831b0b384cd37cfb88aaa0388c620da (patch)
tree06e2506d35cf68fbba4bbc8595df41c188e9f512 /libio/config
parenta6bb47e073377fa203132a3ae20f76103a8049b7 (diff)
downloadgcc-11d34120c831b0b384cd37cfb88aaa0388c620da.tar.gz
More stuff from Uli.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15487 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libio/config')
-rw-r--r--libio/config/linuxlibc1.mt26
1 files changed, 26 insertions, 0 deletions
diff --git a/libio/config/linuxlibc1.mt b/libio/config/linuxlibc1.mt
new file mode 100644
index 00000000000..ffda1720839
--- /dev/null
+++ b/libio/config/linuxlibc1.mt
@@ -0,0 +1,26 @@
+# Since the Linux C library has libio, we have to be very careful.
+
+# By default, we build libio and use it. If someone wants to not
+# build it, let them go to extra work. The reason is that the user
+# may want a newer, bug fixed libio, also on a linux 1.0.8 system
+# things just won't build with the bottom section uncommented.
+
+# 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) stmp-stdio
+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 have those in libc.a.
+# IO_OBJECTS=
+# STDIO_WRAP_OBJECTS=
+# OSPRIM_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