aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>2000-08-21 12:01:51 -0600
committerJeff Law <law@gcc.gnu.org>2000-08-21 12:01:51 -0600
commit49009afdf737a82926f3f3a245508ef6db51c33e (patch)
treecb0efe07a757f09a75c26e74d5e3d29b0e63d2fa /gcc/system.h
parentdc13bad72b60849788b55675d3ded5674b7dbdc8 (diff)
downloadgcc-49009afdf737a82926f3f3a245508ef6db51c33e.zip
gcc-49009afdf737a82926f3f3a245508ef6db51c33e.tar.gz
gcc-49009afdf737a82926f3f3a245508ef6db51c33e.tar.bz2
gcc.c (do_spec_1): Implement %j spec flag.
* gcc.c (do_spec_1): Implement %j spec flag. Remove dead comment. * gcc.texi (The Configuration File): Document HOST_BIT_BUCKET. * system.h (HOST_BIT_BUCKET): Default to "/dev/null". * config/i386/xm-dos.h (HOST_BIT_BUCKET): Define as "NUL". * config/i386/xm-os2.h, config/winnt/winnt.h: Likewise. * protoize.c (munge_compile_params): Use HOST_BIT_BUCKET (if writable) instead of hardcoded value. * toplev.c (compile_file): Output to a file even if -fsyntax-only. * gcc.c, config/i386/xm-dos.h, config/i386/xm-os2.h: Kill MKTEMP_EACH_FILE. * gcc.c (cc1_options): Do not process -o or run the assembler if -fsyntax-only. From-SVN: r35849
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/system.h b/gcc/system.h
index 066c805..afaa977 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -589,6 +589,13 @@ extern void abort PARAMS ((void));
#define ONLY_INT_FIELDS 0
#endif
+/* Provide a default for the HOST_BIT_BUCKET.
+ This suffices for POSIX-like hosts. */
+
+#ifndef HOST_BIT_BUCKET
+#define HOST_BIT_BUCKET "/dev/null"
+#endif
+
/* Enumerated bitfields are safe to use unless we've been explictly told
otherwise or if they are signed. */