aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i386
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/config/i386
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/config/i386')
-rw-r--r--gcc/config/i386/xm-dos.h4
-rw-r--r--gcc/config/i386/xm-os2.h6
2 files changed, 6 insertions, 4 deletions
diff --git a/gcc/config/i386/xm-dos.h b/gcc/config/i386/xm-dos.h
index 4e1cb42..48d5b11 100644
--- a/gcc/config/i386/xm-dos.h
+++ b/gcc/config/i386/xm-dos.h
@@ -33,6 +33,8 @@ Boston, MA 02111-1307, USA. */
/* Suffix for executable file names. */
#define EXECUTABLE_SUFFIX ".exe"
-#define MKTEMP_EACH_FILE 1
+/* Tell GCC about DOS's bit bucket. */
+
+#define HOST_BIT_BUCKET "NUL"
#define NO_PRECOMPILES 1
diff --git a/gcc/config/i386/xm-os2.h b/gcc/config/i386/xm-os2.h
index 83476c0..3c84877 100644
--- a/gcc/config/i386/xm-os2.h
+++ b/gcc/config/i386/xm-os2.h
@@ -67,8 +67,8 @@ int spawnvp (int modeflag, char *path, char *argv[]);
#define OBJECT_SUFFIX ".obj"
#endif
-/* This is required to make temporary file names unique on file
- systems which severely restrict the length of file names. */
-#define MKTEMP_EACH_FILE
+/* Tell GCC about OS/2's bit bucket. */
+
+#define HOST_BIT_BUCKET "NUL"
#include "i386/xm-i386.h"