1993-09-10 02:18:07 +08:00
|
|
|
# Build libgcc1.a for a cross-compiler.
|
|
|
|
# By default this expects the user to provide libgcc1.a,
|
|
|
|
# and gives up immediately if the user has not done so.
|
|
|
|
LIBGCC1 = $(CROSS_LIBGCC1)
|
1992-01-17 01:49:48 +08:00
|
|
|
|
1992-09-03 15:23:31 +08:00
|
|
|
# Dir to search for system headers. Normally /usr/include.
|
1998-05-20 05:41:03 +08:00
|
|
|
# Use CROSS_INCLUDE_DIR not TOOL_INCLUDE_DIR for other vendor's headers.
|
configure.in (i?86-*-beos{pe,elf,}*): Recognize.
* configure.in (i?86-*-beos{pe,elf,}*): Recognize.
* i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
* i386/beos-elf.h, i386/beos-pe.h: New files.
* Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
* cross-make (SYSTEM_HEADER_DIR): Define using
CROSS_SYSTEM_HEADER_DIR.
* gcc.c (LIBRARY_PATH_ENV): Provide default.
(process_command): Use it.
(main): Likewise. Kill trailing = from env vars.
(build_search_list): Put it back.
* collect2.c (main): Use LIBRARY_PATH_ENV.
* configure.in (GCC_NEED_DECLARATIONS): Add environ.
* toplev.c: Use NEED_DECLARATION_ENVIRON.
* tm.texi (Frame Layout): Document SMALL_STACK.
* c-common.c (c_common_nodes_and_builtins): Check it.
* system.h: Undef alloca after including glibc's <stdlib.h>,
if USE_C_ALLOCA is defined.
* gcc.c (set_input): New fn.
(main): After all input files are compiled, reset the input file
info to the first.
* aclocal.m4 (rindex, index): If already defined, don't attempt
to redefine.
* ginclude/varargs.h: (__va_list__): Define ifndef.
* ginclude/stdarg.h: Likewise.
* ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
instead of unsigned char.
* hash.h (true, false, boolean): Undef before enum.
From-SVN: r31366
2000-01-13 08:37:06 +08:00
|
|
|
SYSTEM_HEADER_DIR = $(CROSS_SYSTEM_HEADER_DIR)
|
1992-09-03 15:23:31 +08:00
|
|
|
|
1992-01-22 09:35:30 +08:00
|
|
|
# Don't try to compile the things we can't compile.
|
|
|
|
ALL = all.cross
|
1992-10-07 04:38:24 +08:00
|
|
|
|
|
|
|
# Don't install assert.h in /usr/local/include.
|
|
|
|
assertdir = $(tooldir)/include
|