+2001-02-24 Zack Weinberg <zackw@stanford.edu>
+
+ * xm-interix.h, xm-lynx.h, alpha/xm-vms.h, convex/xm-convex.h,
+ i370/xm-i370.h, i370/xm-linux.h, i370/xm-mvs.h, i370/xm-oe.h,
+ i386/xm-beos.h, i386/xm-dos.h, i386/xm-mingw32.h,
+ i860/xm-i860.h, m68k/xm-3b1.h, m68k/xm-amix.h, m68k/xm-aux.h,
+ m68k/xm-crds.h, m68k/xm-mot3300.h, m88k/xm-sysv3.h,
+ mips/xm-mips.h, rs6000/xm-beos.h, vax/xm-vms.h:
+ Don't define any of:
+ USE_PROTOTYPES, vfork, mktemp, SVR3, NO_SYS_PARAMS_H,
+ P_tmpdir, MVS, NO_DBX_FORMAT, USE_STDARGS, STDC_HEADERS,
+ NO_PRECOMPILES, i860, __PTR_TO_INT, __INT_TO_PTR, rindex,
+ index, FULL_PROTOTYPES, AUX, R_OK, W_OK, X_OK, F_OK,
+ STACK_DIRECTION, MIPS, MAX_READ_LEN, MAX_WRITE_LEN.
+
+ * alpha/xm-alpha.h, clipper/xm-clix.h, d30v/xm-d30v.h,
+ fr30/xm-fr30.h, i370/xm-linux.h: Remove commented-out macro
+ definitions.
+
+ * m68k/xm-3b1.h, m68k/xm-crds.h, m88k/xm-sysv3.h:
+ Delete now-empty file.
+
+ * alpha/vms.h: Define NEED_ATEXIT here...
+ * alpha/xm-vms.h: ...not here.
+
+ * i386/cygwin.h: Don't define PARAMS.
+ * mips/mips.c: Don't prototype mktemp. Don't define
+ P_tmpdir. Use make_temp_file to create temporary files.
+ Don't be clever and delete temporary files early.
+ * config.gcc: Drop references to deleted files. Don't define
+ FULL_PROTOTYPES.
+ * gcc.texi: Don't mention USE_PROTOTYPES.
+
Sat Feb 24 20:25:29 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* config/i386/i386.c (ix86_set_move_mem_attrs): New function.
;;
m68000-convergent-sysv*)
tm_file=m68k/ctix.h
- xm_file="m68k/xm-3b1.h ${xm_file}"
xm_defines=USG
use_collect2=yes
extra_headers=math-68881.h
extra_headers=math-68881.h
;;
m68000-att-sysv*)
- xm_file="m68k/xm-3b1.h ${xm_file}"
xm_defines=USG
if test x$gas = xyes
then
m68k-atari-sysv4*) # Atari variant of V.4.
tm_file=m68k/atari.h
xm_file="xm-alloca.h ${xm_file}"
- xm_defines="USG FULL_PROTOTYPES"
+ xm_defines=USG
tmake_file=t-svr4
extra_parts="crtbegin.o crtend.o"
extra_headers=math-68881.h
extra_headers=math-68881.h
;;
m68k-crds-unos*)
- xm_file="xm-alloca.h m68k/xm-crds.h ${xm_file}"
+ xm_file="xm-alloca.h ${xm_file}"
xm_defines="USG unos"
xmake_file=m68k/x-crds
tm_file=m68k/crds.h
m68k-cbm-sysv4*) # Commodore variant of V.4.
tm_file=m68k/amix.h
xm_file="xm-alloca.h ${xm_file}"
- xm_defines="USG FULL_PROTOTYPES"
+ xm_defines=USG
xmake_file=m68k/x-amix
tmake_file=t-svr4
extra_parts="crtbegin.o crtend.o"
m88k-dolphin-sysv3*)
tm_file=m88k/dolph.h
extra_parts="crtbegin.o crtend.o"
- xm_file="m88k/xm-sysv3.h ${xm_file}"
xmake_file=m88k/x-dolph
if test x$gas = xyes
then
m88k-tektronix-sysv3)
tm_file=m88k/tekXD88.h
extra_parts="crtbegin.o crtend.o"
- xm_file="m88k/xm-sysv3.h ${xm_file}"
xmake_file=m88k/x-tekXD88
if test x$gas = xyes
then
m88k-*-sysv3*)
tm_file=m88k/sysv3.h
extra_parts="crtbegin.o crtend.o"
- xm_file="m88k/xm-sysv3.h ${xm_file}"
xmake_file=m88k/x-sysv3
if test x$gas = xyes
then
/* Output variables, constants and external declarations, for GNU compiler.
- Copyright (C) 1996, 1997, 1998, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 1998, 2000, 2001 Free Software Foundation, Inc.
This file is part of GNU CC.
#define DIR_SEPARATOR ']'
#define PREFIX "GNU_ROOT:"
+
+/* XXX Really? Even with modern CRTL? */
+#define NEED_ATEXIT
/* Configuration for GNU C-compiler for DEC Alpha.
- Copyright (C) 1990, 1992, 1993, 1994, 1995, 1998
+ Copyright (C) 1990, 1992, 1993, 1994, 1995, 1998, 2001
Free Software Foundation, Inc.
Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu).
#define HOST_BITS_PER_LONG 64
#define HOST_BITS_PER_LONGLONG 64
-/* #define HOST_WORDS_BIG_ENDIAN */
-
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* Configuration for GNU C-compiler for openVMS/Alpha.
- Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 2001 Free Software Foundation, Inc.
Contributed by Klaus Kaempf (kkaempf@progis.de).
This file is part of GNU CC.
/* Define a local equivalent (sort of) for unlink */
#define unlink remove
-#define NEED_ATEXIT
#define HAVE_VPRINTF
#define HAVE_PUTENV
#define HAVE_STRERROR
#define HAVE_ATOLL
-#define NO_SYS_PARAMS_H /* Don't have <sys/params.h> */
#define USE_C_ALLOCA /* Using alloca.c */
#define HAVE_FCNTL_H 1
/* Configuration for GNU C-compiler for Acorn RISC Machine.
- Copyright (C) 1991, 1993 Free Software Foundation, Inc.
+ Copyright (C) 1991, 1993, 2001 Free Software Foundation, Inc.
Contributed by Pieter `Tiggr' Schoenmakers (rcpieter@win.tue.nl)
and Martin Simmons (@harleqn.co.uk).
More major hacks by Richard Earnshaw (rwe11@cl.cam.ac.uk)
#define USE_C_ALLOCA
#endif
-/* Define this to be 1 if you know the host compiler supports prototypes, even
- if it doesn't define __STDC__, or define it to be 0 if you do not want any
- prototypes when compiling GNU CC. */
-#define USE_PROTOTYPES 1
-
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* Config file for Clipper running Clix, system V. 3.2 clone */
-
/* #defines that need visibility everywhere. */
#define FALSE 0
#define TRUE 1
#define HOST_BITS_PER_LONG 32
#define HOST_BITS_PER_LONGLONG 64
-/* This machine uses IEEE floats. */
-/* #define HOST_FLOAT_FORMAT IEEE_FLOAT_FORMAT */
-
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
/* Configuration for GNU C-compiler for Convex.
- Copyright (C) 1989, 1993, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1989, 1993, 1997, 2001 Free Software Foundation, Inc.
This file is part of GNU CC.
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
-/* Convex ships /tmp as a separate file system - thus it
- usually has more free space than /usr/tmp */
-
-#define P_tmpdir "/tmp/"
-
/* Convex uses Vax or IEEE floats.
Both formats have Vax semantics. */
/* Configuration for GNU C-compiler for Mitsubishi D30V.
- Copyright (C) 1997, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1997, 2000, 2001 Free Software Foundation, Inc.
Contributed by Cygnus Solutions.
This file is part of GNU CC.
#define FALSE 0
#define TRUE 1
-/* Define this macro if the host system is System V. */
-/* #define USG */
-
-/* Define this macro if the host system is VMS. */
-/* #define VMS */
-
/* A C expression for the status code to be returned when the compiler exits
after serious errors. */
#define FATAL_EXIT_CODE 33
order. (GNU CC does not depend on the host byte ordering within a word.) */
#define HOST_WORDS_BIG_ENDIAN
-/* Define this macro to be 1 if the host machine stores `DFmode', `XFmode' or
- `TFmode' floating point numbers in memory with the word containing the sign
- bit at the lowest address; otherwise, define it to be zero.
-
- This macro need not be defined if the ordering is the same as for multi-word
- integers. */
-/* #define HOST_FLOAT_WORDS_BIG_ENDIAN */
-
-/* A numeric code distinguishing the floating point format for the host
- machine. See `TARGET_FLOAT_FORMAT' in *Note Storage Layout:: for the
- alternatives and default. */
-/* #define HOST_FLOAT_FORMAT */
-
/* A C expression for the number of bits in `char' on the host machine. */
#define HOST_BITS_PER_CHAR 8
/* A C expression for the number of bits in `long' on the host machine. */
#define HOST_BITS_PER_LONG 32
-/* Define this macro to indicate that the host compiler only supports `int' bit
- fields, rather than other integral types, including `enum', as do most C
- compilers. */
-/* #define ONLY_INT_FIELDS */
-
-/* A C expression for the size of ordinary obstack chunks. If you don't define
- this, a usually-reasonable default is used. */
-/* #define OBSTACK_CHUNK_SIZE */
-
-/* The function used to allocate obstack chunks. If you don't define this,
- `xmalloc' is used. */
-/* #define OBSTACK_CHUNK_ALLOC */
-
-/* The function used to free obstack chunks. If you don't define this, `free'
- is used. */
-/* #define OBSTACK_CHUNK_FREE */
-
/* Define this macro to indicate that the compiler is running with the `alloca'
- implemented in C. This version of `alloca' can be found in the file
- `alloca.c'; to use it, you must also alter the `Makefile' variable `ALLOCA'.
- (This is done automatically for the systems on which we know it is needed.)
-
- If you do define this macro, you should probably do it as follows:
-
- #ifndef __GNUC__
- #define USE_C_ALLOCA
- #else
- #define alloca __builtin_alloca
- #endif
-
- so that when the compiler is compiled with GNU CC it uses the more efficient
- built-in `alloca' function. */
-
+ implemented in C. */
#ifndef __GNUC__
#define USE_C_ALLOCA
#else
#define alloca __builtin_alloca
#endif
-/* Define this macro to indicate that the host compiler does not properly
- handle converting a function value to a pointer-to-function when it is used
- in an expression. */
-/* #define FUNCTION_CONVERSION_BUG */
-
-/* Define this if the library function `vprintf' is available on your system. */
-/* #define HAVE_VPRINTF */
-
-/* Define this macro to enable support for multibyte characters in the input to
- GNU CC. This requires that the host system support the ANSI C library
- functions for converting multibyte characters to wide characters. */
-/* #define MULTIBYTE_CHARS */
-
-/* Define this if the library function `putenv' is available on your system. */
-/* #define HAVE_PUTENV */
-
-/* Define this if your system is POSIX.1 compliant. */
-/* #define POSIX */
-
-/* Define this if your system has the variable `sys_siglist', and there is
- already a declaration of it in the system header files. */
-/* #define DONT_DECLARE_SYS_SIGLIST */
-
-/* Define this to be 1 if you know that the host compiler supports prototypes,
- even if it doesn't define __STDC__, or define it to be 0 if you do not want
- any prototypes used in compiling GNU CC. If `USE_PROTOTYPES' is not
- defined, it will be determined automatically whether your compiler supports
- prototypes by checking if `__STDC__' is defined. */
-/* #define USE_PROTOTYPES */
-
-/* Define this if you wish suppression of prototypes generated from the machine
- description file, but to use other prototypes within GNU CC. If
- `USE_PROTOTYPES' is defined to be 0, or the host compiler does not support
- prototypes, this macro has no effect. */
-/* #define NO_MD_PROTOTYPES */
-
-/* Define this if you wish to generate prototypes for the `gen_call' or
- `gen_call_value' functions generated from the machine description file. If
- `USE_PROTOTYPES' is defined to be 0, or the host compiler does not support
- prototypes, or `NO_MD_PROTOTYPES' is defined, this macro has no effect. As
- soon as all of the machine descriptions are modified to have the appropriate
- number of arguments, this macro will be removed.
-
- Some systems do provide this variable, but with a different name such as
- `_sys_siglist'. On these systems, you can define `sys_siglist' as a macro
- which expands into the name actually provided. */
-/* #define MD_CALL_PROTOTYPES */
-
-/* Define this macro to be a C character constant representing the character
- used to separate components in paths. The default value is. the colon
- character */
-/* #define PATH_SEPARATOR */
-
-/* If your system uses some character other than slash to separate directory
- names within a file specification, define this macro to be a C character
- constant specifying that character. When GNU CC displays file names, the
- character you specify will be used. GNU CC will test for both slash and the
- character you specify when parsing filenames. */
-/* #define DIR_SEPARATOR */
-
-/* Define this macro to be a C string representing the suffix for object files
- on your machine. If you do not define this macro, GNU CC will use `.o' as
- the suffix for object files. */
-/* #define OBJECT_SUFFIX */
-
-/* Define this macro to be a C string representing the suffix for executable
- files on your machine. If you do not define this macro, GNU CC will use the
- null string as the suffix for object files. */
-/* #define EXECUTABLE_SUFFIX */
-
-/* If defined, `collect2' will scan the individual object files specified on
- its command line and create an export list for the linker. Define this
- macro for systems like AIX, where the linker discards object files that are
- not referenced from `main' and uses export lists. */
-/* #define COLLECT_EXPORT_LIST */
-
-/* In addition, configuration files for system V define `bcopy', `bzero' and
- `bcmp' as aliases. Some files define `alloca' as a macro when compiled with
- GNU CC, in order to take advantage of the benefit of GNU CC's built-in
- `alloca'. */
-
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
-
-/* end of xm-generic.h */
/* Definitions of FR30 target.
- Copyright (C) 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc.
Contributed by Cygnus Solutions.
This file is part of GNU CC.
without serious errors. */
#define SUCCESS_EXIT_CODE 0
-/* Defined if the host machine stores words of multi-word values in big-endian
- order. (GNU CC does not depend on the host byte ordering within a word.) */
-/* #define HOST_WORDS_BIG_ENDIAN 1 */
-
-/* In addition, configuration files for system V define `bcopy', `bzero' and
- `bcmp' as aliases. Some files define `alloca' as a macro when compiled with
- GNU CC, in order to take advantage of the benefit of GNU CC's built-in
- `alloca'. */
-
/* target machine dependencies.
tm.h is a symbolic link to the actual target specific file. */
#include "tm.h"
/* Configuration for GNU C-compiler for System/370.
- Copyright (C) 1989, 1993, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1989, 1993, 1997, 2001 Free Software Foundation, Inc.
Contributed by Jan Stein (jan@cd.chalmers.se).
Modified for MVS C/370 by Dave Pitts (dpitts@nyx.cs.du.edu)
#define HOST_EBCDIC 1
#define USG
-#ifndef MVS
-#define MVS
-#endif
/* Target machine dependencies. tm.h is a symbolic link to the actual
target specific file. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 12
-
-#define NO_DBX_FORMAT
-
/* Configuration for GNU C-compiler for System/370.
- Copyright (C) 1989, 1993, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1989, 1993, 1997, 2001 Free Software Foundation, Inc.
Contributed by Jan Stein (jan@cd.chalmers.se).
Modified for OS/390 OpenEdition by Dave Pitts (dpitts@cozx.com)
Modified for 390/Linux by Linas Vepstas (linas@linas.org)
#define FALSE 0
#define TRUE 1
-#define USE_STDARGS 1
-#define USE_PROTOTYPES 1
-
/* This describes the machine the compiler is hosted on. */
#define HOST_BITS_PER_CHAR 8
#define ONLY_INT_FIELDS
#endif
-// #define USG
-
/* Target machine dependencies. tm.h is a symbolic link to the actual
target specific file. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 12
-
-// #define NO_DBX_FORMAT
-
/* Configuration for GNU C-compiler for System/370.
- Copyright (C) 1989, 1993, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1989, 1993, 1997, 2001 Free Software Foundation, Inc.
Contributed by Jan Stein (jan@cd.chalmers.se).
Modified for OS/390 LanguageEnvironment C by Dave Pitts (dpitts@cozx.com)
#define HOST_EBCDIC 1
#define USG
-#ifndef MVS
-#define MVS
-#endif
/* Target machine dependencies. tm.h is a symbolic link to the actual
target specific file. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 12
-
-#define NO_DBX_FORMAT
-
/* Configuration for GNU C-compiler for System/370.
- Copyright (C) 1989, 1993, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1989, 1993, 1997, 2001 Free Software Foundation, Inc.
Contributed by Jan Stein (jan@cd.chalmers.se).
Modified for OS/390 OpenEdition by Dave Pitts (dpitts@cozx.com)
#define FALSE 0
#define TRUE 1
-#define USE_STDARGS 1
-#define USE_PROTOTYPES 1
-
/* This describes the machine the compiler is hosted on. */
#define HOST_BITS_PER_CHAR 8
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 12
-
-#define NO_DBX_FORMAT
-
/* Operating system specific defines to be used when targeting GCC for
hosting on Windows32, using a Unix style C library and tools.
- Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000
+ Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
This file is part of GNU CC.
/* External function declarations. */
-#ifndef PARAMS
-#if defined (USE_PROTOTYPES) ? USE_PROTOTYPES : defined (__STDC__)
-#define PARAMS(ARGS) ARGS
-#else
-#define PARAMS(ARGS) ()
-#endif
-#endif
-
extern void i386_pe_record_external_function PARAMS ((char *));
/* extern void i386_pe_declare_function_type PARAMS ((FILE *, char *, int)); */
extern void i386_pe_record_exported_symbol PARAMS ((char *, int));
/* Configuration for GNU C-compiler for BeOS host.
- Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
Contributed by Fred Fish (fnf@cygnus.com), based on xm-rs6000.h
by Richard Kenner (kenner@vlsi1.ultra.nyu.edu).
#define HAVE_PUTENV
#endif
#define HAVE_RENAME
-
-#define STDC_HEADERS 1
/* Configuration for GNU C-compiler for Intel 80386 running DOS.
- Copyright (C) 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc.
This file is part of GNU CC.
/* Tell GCC about DOS's bit bucket. */
#define HOST_BIT_BUCKET "NUL"
-
-#define NO_PRECOMPILES 1
/* Configuration for GNU C-compiler for hosting on Windows32.
using GNU tools and the Windows32 API Library.
- Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998, 1999, 2001 Free Software Foundation, Inc.
This file is part of GNU CC.
#define ONLY_INT_FIELDS 1
#endif
-#ifndef USE_PROTOTYPES
-#define USE_PROTOTYPES 1
-#endif
-
#define environ _environ
/* Even though we support "/", allow "\" since everybody tests both. */
/* Configuration for GNU C-compiler for Intel i860.
- Copyright (C) 1988, 1993 Free Software Foundation, Inc.
+ Copyright (C) 1988, 1993, 2001 Free Software Foundation, Inc.
This file is part of GNU CC.
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#ifndef i860
-#define i860
-#endif
-
/* #defines that need visibility everywhere. */
#define FALSE 0
#define TRUE 1
+++ /dev/null
-/* Override part of the obstack macros. */
-
-#define __PTR_TO_INT(P) ((int)(P))
-#define __INT_TO_PTR(P) ((char *)(P))
/* Definitions of host machine for GNU compiler.
Commodore Amiga A3000UX version.
- Copyright (C) 1991, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1991, 1997, 2001 Free Software Foundation, Inc.
This file is part of GNU CC.
#include "m68k/xm-m68kv.h" /* Use the System V flavor of m68k host */
-#define rindex strrchr
-#define index strchr
-
-/* Define FULL_PROTOTYPES for protoize.c, to get <unistd.h> included.
- We need this file for things like R_OK, not necessarily prototypes. */
-
-#define FULL_PROTOTYPES
-
#if defined (__GNUC__) && __GNUC__ == 1
#define alloca __builtin_alloca
#endif
#define USG
#endif
-#ifndef AUX
-#define AUX
-#endif
-
#include "m68k/xm-m68k.h"
+++ /dev/null
-/* Avoid conflict with C library by changing name of this symbol. */
-#define gettime gcc_gettime
-
-/* Override part of the obstack macros. */
-
-#define __PTR_TO_INT(P) ((int)(P))
-#define __INT_TO_PTR(P) ((char *)(P))
/* Configuration for GNU C-compiler for Motorola 68000 family.
SysV68 Motorola 3300 Delta Series
- Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001
+ Free Software Foundation, Inc.
This file is part of GNU CC.
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-
#define USG 1
/* do not use alloca from -lPW with cc, because function epilogues use %sp */
extern char *alloca ();
#endif
#endif
-
-/* Override part of the obstack macros. */
-
-#define __PTR_TO_INT(P) ((int)(P))
-#define __INT_TO_PTR(P) ((char *)(P))
+++ /dev/null
-/* Configuration for GNU C-compiler.
- Motorola m88100 running the AT&T/Unisoft/Motorola V.3 reference port.
- Copyright (C) 1990, 1998, 1999 Free Software Foundation, Inc.
-
-This file is part of GNU CC.
-
-GNU CC is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU CC is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU CC; see the file COPYING. If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
-
-#define R_OK 4
-#define W_OK 2
-#define X_OK 1
-#define F_OK 0
-
-/* for the emacs version of alloca */
-#define STACK_DIRECTION -1
#define STAB_CODE_TYPE int
#endif
-extern char *mktemp PARAMS ((char *));
extern tree lookup_name PARAMS ((tree));
/* Enumeration for all of the relational tests, so that we can build
\f
/* Compute a string to use as a temporary file name. */
-/* On MSDOS, write temp files in current dir
- because there's no place else we can expect to use. */
-#if __MSDOS__
-#ifndef P_tmpdir
-#define P_tmpdir "./"
-#endif
-#endif
-
static FILE *
mips_make_temp_file ()
{
FILE *stream;
- const char *base = getenv ("TMPDIR");
- int len;
+ char *filename = make_temp_file (0);
- if (base == 0)
- {
-#ifdef P_tmpdir
- if (access (P_tmpdir, R_OK | W_OK) == 0)
- base = P_tmpdir;
- else
-#endif
- if (access ("/usr/tmp", R_OK | W_OK) == 0)
- base = "/usr/tmp/";
- else
- base = "/tmp/";
- }
-
- len = strlen (base);
- /* temp_filename is global, so we must use malloc, not alloca. */
- temp_filename = (char *) xmalloc (len + sizeof("/ctXXXXXX"));
- strcpy (temp_filename, base);
- if (len > 0 && temp_filename[len-1] != '/')
- temp_filename[len++] = '/';
-
- strcpy (temp_filename + len, "ctXXXXXX");
- mktemp (temp_filename);
-
- stream = fopen (temp_filename, "w+");
+ stream = fopen (filename, "w+");
if (!stream)
- fatal_io_error ("can't open %s", temp_filename);
-
-#ifndef __MSDOS__
- /* In MSDOS, we cannot unlink the temporary file until we are finished using
- it. Otherwise, we delete it now, so that it will be gone even if the
- compiler happens to crash. */
- unlink (temp_filename);
-#endif
+ fatal_io_error ("can't open %s", filename);
+ free (filename);
return stream;
}
\f
if (fclose (asm_out_text_file) != 0)
fatal_io_error ("can't close %s", temp_filename);
-#ifdef __MSDOS__
unlink (temp_filename);
-#endif
}
}
/* Configuration for GNU C-compiler for MIPS Rx000 family
- Copyright (C) 1989, 1990, 1991, 1993, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1989, 1990, 1991, 1993, 1997, 2001
+ Free Software Foundation, Inc.
This file is part of GNU CC.
#define HOST_WORDS_BIG_ENDIAN
#endif
-/* Enable host-conditionals for MIPS machines. */
-#ifndef MIPS
-#define MIPS 1
-#endif
-
/* A code distinguishing the floating point format of the host
machine. There are three defined values: IEEE_FLOAT_FORMAT,
VAX_FLOAT_FORMAT, and UNKNOWN_FLOAT_FORMAT. */
extern char * alloca ();
#endif
-/* for the emacs version of alloca */
-#define STACK_DIRECTION -1
#endif
#endif /* not MIPS_OVERRIDE_ALLOCA */
/* Configuration for GNU C-compiler for BeOS host.
- Copyright (C) 1997, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1999, 2001 Free Software Foundation, Inc.
Contributed by Fred Fish (fnf@cygnus.com), based on xm-rs6000.h
by Richard Kenner (kenner@vlsi1.ultra.nyu.edu).
#define HAVE_RENAME
#endif
-#define STDC_HEADERS 1
-
/* STANDARD_INCLUDE_DIR is the equivalent of "/usr/include" on UNIX. */
#define STANDARD_INCLUDE_DIR "/boot/develop/headers/posix"
/* Configuration for GNU C-compiler for Vax.
- Copyright (C) 1987, 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1987, 1994, 1995, 1996, 1997, 2001
+ Free Software Foundation, Inc.
This file is part of GNU CC.
#define VMS
#endif
-#ifndef __GNUC__
-/* not present, at least in VAX-11 C (VMS) v2.2 */
-#define R_OK 4
-#define W_OK 2
-#define X_OK 1
-#define F_OK 0
-#endif
-
#define GCC_INCLUDE_DIR "///not used with VMS///" /* nonsense string for now */
/* and define a local equivalent (sort of) for unlink */
#define unlink remove
-/* Used by the preprocessor to limit size of disk I/O chunks.
- 64K - 1 is the maximum supported by VAXCRTL. Amounts in excess
- of 35 blocks will bypass the VMS V6.x VIOC [Virtual I/O Cache],
- so we'll pick a limit of 16K (32 blocks). */
-#define MAX_READ_LEN (32 * 512)
-#define MAX_WRITE_LEN (32 * 512)
-
/* Under VMS a directory specification can be enclosed either in square
brackets or in angle brackets. Thus we need to check both. This
macro is used to help compare filenames in cp-lex.c.
/* Customizations/kludges for building with DEC's VAX C compiler
rather than GCC. */
-#define NO_SYS_PARAMS_H /* don't have <sys/params.h> */
#define USE_C_ALLOCA /* using alloca.c */
#define QSORT_WORKAROUND /* do not use VAXCRTL's qsort */
after having previously sorted something that was a multiple of 4
can produce wrong results and result in data corruption.) We'll
use our own substitute (in vax.c) instead. */
-/* #define QSORT_WORKAROUND */
#ifdef QSORT_WORKAROUND
#define qsort not_qsort
#endif
/* Configuration for GNU compiler for processor running Interix
- Copyright (C) 1993, 1995, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1995, 1999, 2001 Free Software Foundation, Inc.
Donn Terry, Softway Systems, Inc,
from code
Contributed by Douglas B. Rupp (drupp@cs.washington.edu)
#endif
#endif
-#ifndef USE_PROTOTYPES
-#define USE_PROTOTYPES 1
-#endif
-
/* If not compiled with GNU C, use the portable alloca. */
#ifndef __GNUC__
#define USE_C_ALLOCA 1
/* Configuration for GNU C-compiler for Lynx.
- Copyright (C) 1993, 1995 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1995, 2001 Free Software Foundation, Inc.
This file is part of GNU CC.
/* Arguments to use with `exit'. */
#define SUCCESS_EXIT_CODE 0
#define FATAL_EXIT_CODE 33
-
-/* Lynx has no vfork system call. */
-#define vfork fork
-
-/* Lynx has a non-standard mktemp function. */
-/* ??? This is simpler than creating YATM: Yet Another Target Macro. */
-#define mktemp lynx_mktemp
-
-#define lynx_mktemp(template) \
-do { \
- int pid = getpid (); \
- char *t = template; \
- char *p; \
- p = t + strlen (t); \
- while (*--p == 'X') \
- { \
- *p = (pid % 10) + '0'; \
- pid /= 10; \
- } \
-} while (0)
/* Configuration for GNU C-compiler for hosts running System V Release 3
- Copyright (C) 1991, 1993, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1991, 1993, 1996, 2001 Free Software Foundation, Inc.
This file is part of GNU CC.
Boston, MA 02111-1307, USA. */
#define USG
-
-#ifndef SVR3
-#define SVR3
-#endif
+2001-02-24 Zack Weinberg <zackw@stanford.edu>
+
+ * com.c: Don't define STDC_HEADERS, autoconf handles it.
+
Fri Feb 23 15:28:39 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* com.c (set_block): Set NAMES and BLOCKS from BLOCK.
HAVE_STDLIB_H
HAVE_SYS_TIME_H
HAVE_UNISTD_H
- STDC_HEADERS
TIME_WITH_SYS_TIME
In the mean time, we'll get by with approximations based
on existing GCC configuration symbols. */
# ifndef HAVE_UNISTD_H
# define HAVE_UNISTD_H 1
# endif
-# ifndef STDC_HEADERS
-# define STDC_HEADERS 1
-# endif
#endif /* defined (POSIX) */
#if defined (POSIX) || (defined (USG) && !defined (VMS))
@item POSIX
Define this if your system is POSIX.1 compliant.
-@findex USE_PROTOTYPES
-@item USE_PROTOTYPES
-Define this to be 1 if you know that the host compiler supports
-prototypes, even if it doesn't define __STDC__, or define
-it to be 0 if you do not want any prototypes used in compiling
-GCC. If @samp{USE_PROTOTYPES} is not defined, it will be
-determined automatically whether your compiler supports
-prototypes by checking if @samp{__STDC__} is defined.
-
@findex PATH_SEPARATOR
@item PATH_SEPARATOR
Define this macro to be a C character constant representing the