Jeff Law
be1ed94f89
fixinc.math: New file to fix math.h on some systems.
...
* fixinc.math: New file to fix math.h on some systems.
* configure.in (freebsd, netbsd): Use fixinc.math on these
systems.
* configure: Rebuilt.
Should fix struct exception problems for freebsd, netbsd. Can be used
for others.
From-SVN: r15436
1997-09-14 12:29:43 -06:00
Jim Wilson
5188d2b2fa
Never set prefix=/usr by default.
...
* configure.in (native_prefix): Delete.
(mips-dec-netbsd): Don't set prefix.
(*linux*): Don't set prefix.
From-SVN: r15421
1997-09-11 17:51:01 -07:00
Fred Fish
70988851ef
Patches from Fred Fish for systems with sys/varargs.h but not varargs.h.
...
* protoize.c: Include <varargs.h> only if HAVE_VARARGS_H is
defined. If not defined, include <sys/varargs.h> if
HAVE_SYS_VARARGS_H is defined.
* configure.in: Test for varargs.h and sys/varargs.h.
* configure: Regenerate with autoconf.
* config.in: Regenerate with autoheader.
From-SVN: r15420
1997-09-11 17:39:10 -07:00
Jim Wilson
ac64120eeb
Add Fred Fish's LN/LN_S patch.
...
From-SVN: r15415
1997-09-11 13:39:08 -07:00
Jeff Law
66ed068304
Add port done awhile ago for the ARC cpu.
...
* arc/arc.h: New file.
* arc/arc.c: New file.
* arc/arc.md: New file.
* arc/initfini.c: New file.
* arc/lib1funcs.asm: New file.
* arc/t-arc: New file.
* arc/xm-arc.h: New file.
* ginclude/va-arc.h: New file.
* ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
* ginclude/varargs.h: Likewise.
* Makefile.in (USER_H): Add va-arc.h.
* configure.in (arc-*-elf*): Recognize.
* longlong.h: Add ARC support.
Mostly so I can test changes in snapshot scripts.
* expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
when clearing non-BLKmode data.
Fixes sparc problem.
From-SVN: r15198
1997-09-09 16:21:04 -06:00
Manfred Hollstein
7ed4611117
configure.in (out_file): Emit definition to config.status in order to have a defined value for...
...
* configure.in (out_file): Emit definition to config.status in order
to have a defined value for configure.lang.
* configure: Re-built.
From-SVN: r15134
1997-09-07 13:17:02 -06:00
Jan-Jaap van der Heijden
e41cea70d8
configure.in: Make symlink to as-new rather than as.new.
...
* configure.in: Make symlink to as-new rather than as.new. Similarly
for ld-new.
* configure: Rebuilt.
From-SVN: r15133
1997-09-07 10:00:47 -06:00
Jeffrey A Law
f84271d99d
v850: New directory for v850 port.
...
* v850: New directory for v850 port.
* v850/lib1funcs.asm: New file.
* t-v850, v850.c, v850.h, v850.md, xm-v850.h: New files.
* ginclude/va-v850.h: New file.
* varargs.h, stdarg.h: Include va-mn10200.h.
* configure.in (mn10200-*-*): New target.
* Makefile.in (USER_H): Add va-mn10200.h.
From-SVN: r15104
1997-09-05 11:43:51 -06:00
Jeffrey A Law
a63d08e606
cccp.c (sys_errlist): Remove special 4.4bsd declaration.
...
* cccp.c (sys_errlist): Remove special 4.4bsd declaration.
* collect2.c (sys_errlist): Likewise.
* cpplib.c (sys_errlist): Likewise.
* gcc.c (sys_errlist): Likewise.
* protoize (sys_errlist): Likewise.
* configure.in: Check for strerror.
* xm-freebsd.h (HAVE_STRERROR): Remove definition.
* xm-gnu.h (HAVE_STRERROR): Likewise.
* xm-linux.h (HAVE_STRERROR): Likewise.
* xm-netbsd.h (HAVE_STRERROR): Likewise.
* xm-bsd386.h (HAVE_STRERROR): Likewise.
* xm-cygwin32.h (HAVE_STRERROR): Likewise.
* xm-dos.h (HAVE_STRERROR): Likewise.
* xm-mingw32.h (HAVE_STRERROR): Likewise.
* xm-pa.h (HAVE_STRERROR): Likewise.
* xm-papro.h (HAVE_STRERROR): Likewise.
* xm-sysv4.h (HAVE_STRERROR): Likewise.
* configure, config.in: Rebuilt.
Remove the need to define HAVE_STRERROR for each host port.
From-SVN: r15011
1997-09-01 11:02:53 -06:00
Jeffrey A Law
e3512ac291
collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.
...
* collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.
* mips-tfile.c: Likewise.
* gcc.texi: DONT_DECLARE_SYS_SIGLIST: Remove docs.
* xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition.
* xm-freebsd.h, xm-bsd386.h, xm-sysv4.h, xm-sol2.h: Likewise.
* configure.in: Check for sys_siglist declaration.
* configure, config.in: Rebuilt.
Fix conflicting sys_siglist decls once and for all.
From-SVN: r15007
1997-09-01 08:57:29 -06:00
Joel Sherrill
5d84b57e6f
go32-rtems.h, [...] (subtarget_switches): Added -mrtems as a switch.
...
* i386/go32-rtems.h, i386/rtems.h, i960/rtems.h,
m68k/rtems.h, mips/rtems64.h, pa/rtems.h, rs6000/rtems.h,
sparc/rtems.h (subtarget_switches): Added -mrtems as a switch.
* i960/i960.h: Added SUBTARGET_SWITCHES macro.
* rs6000/sysv4.h (extra_subtarget_switches): Added new
macro EXTRA_SUBTARGET_SWITCHES.
* configure.in (sh*-*-rtems*): New target.
* sh/rtems.h: New file.
* sh/sh.h: Added SUBTARGET_SWITCHES macro.
* configure: Rebuilt.
From-SVN: r15006
1997-09-01 08:14:30 -06:00
Richard Henderson
704a63062f
Patch from Richard Henderson to fix alpha-linux support.
...
* alpha/elf.h (LINK_SPEC): Conditionalize on USE_GNULIBC_1.
* config.guess: Recognize alpha-linux-gnulibc1.
* configure.in (alpha-*-linux-gnulibc1): New target.
(alpha-*-linux-gnu*): Don't build crtbegin/end.
From-SVN: r14974
1997-08-27 16:02:19 -07:00
Jim Wilson
19372aa112
Fix AIX build problem when IBM cc is used.
...
* acconfig.h (NEED_DECLARATION_CALLOC): Add.
* configure.in: Add GCC_NEED_DECLARATION call for calloc.
* rs6000/xm-rs6000.h (malloc, realloc, calloc, free): Delete
declarations.
* config.in, configure: Regenerate.
From-SVN: r14896
1997-08-22 14:39:10 -07:00
Jeffrey A Law
2da05a5bb8
configure.in: Turn on haifa by default for the PA.
...
* configure.in: Turn on haifa by default for the PA.
* configure: Rebuilt.
* pa.c (override_options): Accept -mschedule=7200 option.
(pa_adjust_cost): No longer need to scale costs for newer
processors.
* pa.h (enum processor_type): Add PROCESSOR_7200.
* pa.md: Revamp scheduling parameters to work better with
haifa. Add scheduling parameters for the 7200.
From-SVN: r14850
1997-08-19 15:09:22 -06:00
Mike Meissner
f24b370adf
Fix --with-cpu=xxx
...
From-SVN: r14837
1997-08-18 22:03:38 +00:00
Dave Love
6042434abc
configure.in: Expurgate `broken_install' (install is autoconfed).
...
* configure.in: Expurgate `broken_install' (install is
autoconfed).
* configure.lang: Substitute autoconfed ${INSTALL} (not currently
relevant).
From Dave love.
From-SVN: r14823
1997-08-17 15:41:59 -06:00
Doug Evans
992d1248f5
configure.in (haifa configury): Fix typo.
...
* configure.in (haifa configury): Fix typo.
* configure: Regenerate.
From-SVN: r14783
1997-08-13 08:04:44 +00:00
Jeffrey A Law
8c660648ca
* Integrate Haifa instruction scheduler.
...
* Integrate regmove pass.
See ChangeLog for deatils.
From-SVN: r14770
1997-08-11 22:07:19 -06:00
Jeffrey A Law
aa32d84158
* Integrate tlink patch from jason@cygnus.com
...
* gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'.
(process_command): Increment n_switches for them. Don't discard
their args. Validate them.
(main): Escape " marks when creating COLLECT_GCC_OPTIONS.
From Rohan Lenard.
(process_command): Set include_prefixes from COMPILER_PATH.
(main): Set COLLECT_GCC_OPTIONS sooner.
* confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld.
* tlink.c, hash.c, hash.h: New files.
* Makefile.in (USE_COLLECT2): Always use collect2.
(collect2): Depend on and link in hash.o and tlink.o.
(tlink.o, hash.o): Add dependencies.
tlink patches from Jason.
From-SVN: r14769
1997-08-11 14:23:53 -06:00
Doug Evans
296e46bd9b
configure.in: Build .gdbinit for top level build dir here.
...
* configure.in: Build .gdbinit for top level build dir here.
(AC_OUTPUT): Pass oldstyle_subdirs to configure.lang.
From-SVN: r14630
1997-08-02 20:10:47 +00:00
Richard Earnshaw
f5967c596a
replace arm-*-* with arm-*-aout.
...
From-SVN: r14558
1997-07-30 12:50:14 +00:00
Per Bothner
b429435109
configure.in (--enable-c-cpplib): New option.
...
* configure.in (--enable-c-cpplib): New option.
(extra_c_flags, extra_c_objs): New variables.
From-SVN: r14556
1997-07-29 15:07:34 -07:00
Per Bothner
0280cf849f
Add hooks for using autconf-style Makefile.in in language subdirs.
...
* configure.in (all_outputs, oldstyle_subdirs): New variables.
Pass all_outputs to AC_OUTPUT.
From-SVN: r14554
1997-07-29 15:03:06 -07:00
Doug Evans
d1054723e0
configure.in: Finish fixing calculation if default thread support is enabled.
...
* configure.in: Finish fixing calculation if default thread
support is enabled.
From-SVN: r14530
1997-07-25 19:42:24 +00:00
Richard Earnshaw
e3482774d8
(arm-*-netbsd*): Fix typo setting tmake_file.
...
From-SVN: r14522
1997-07-23 16:59:51 +00:00
Richard Kenner
e71c3bb0d6
(alpha*): Put quotes around MASK_GAS.
...
From-SVN: r14521
1997-07-23 06:39:34 -04:00
Doug Evans
94f420183c
configure.in (host_overrides): Set to Make-host.
...
* configure.in (host_overrides): Set to Make-host.
(dep_host_xmakefile): Loop over all elements in host_make_file.
(target_overrides): Set to Make-target.
(dep_tmake_file): Loop over all elements in tmake_file.
(configure.frag): Pass dep_host_xmake_file, dep_tmake_file.
From-SVN: r14516
1997-07-22 16:25:40 +00:00
Richard Kenner
08fc018489
(alpha*-*-*): Set cpu_type to alpha.
...
Change "alpha-" to "alpha*-" in all entries.
Set target_cpu_default for ev5 and ev56 systems.
Use symbolic names for target_cpu_default.
From-SVN: r14507
1997-07-20 21:07:37 -04:00
Doug Evans
818b66cca8
(cstamp-h): Renamed from stamp-h.
...
From-SVN: r14493
1997-07-19 07:05:40 +00:00
Doug Evans
cdcc6a010c
configure.in: Invoke AC_CONFIG_HEADER.
...
* configure.in: Invoke AC_CONFIG_HEADER.
Check for string.h, strings.h, stdlib.h, time.h, unistd.h.
Check for whether malloc/realloc/free need to be declared.
(links): Rename config.h to config2.h.
(AC_OUTPUT): Create stamp-h.
From-SVN: r14488
1997-07-19 02:51:45 +00:00
Doug Evans
571a8de585
configure.in (host_overrides): Set to host_xmake_file, don't create Make-host.
...
* configure.in (host_overrides): Set to host_xmake_file, don't create
Make-host.
(target_overrides): Set to tmake_file, don't create Make-target.
(language subdir support): Keep together.
From-SVN: r14485
1997-07-19 02:27:38 +00:00
Doug Evans
af5e4ada32
configure.in: Don't loop trying to configure language subdirs.
...
* configure.in: Don't loop trying to configure language subdirs.
Don't pass to configure.lang variables it doesn't use.
From-SVN: r14482
1997-07-19 02:22:30 +00:00
Doug Evans
ae3a15bb2d
configure.in (merged_frags): Delete unused variable.
...
* configure.in (merged_frags): Delete unused variable.
(extra_headers_list): Move setting outside of subdir loop.
(extra_headers,extra_passes): Don't pass to configure.lang.
(extra_programs,extra_parts,extra_objs): Likewise.
(host_extra_gcc_objs,gxx_include_dir,md_cppflags): Likewise.
From-SVN: r14475
1997-07-17 20:02:27 +00:00
Richard Earnshaw
d23f41585d
(arm-*-netbsd*): New configuration.
...
From-SVN: r14456
1997-07-16 14:53:35 +00:00
Jim Wilson
a204adc6a7
(exeext): Delete redundant set and AC_SUBST call.
...
Change remaining AC_SUBST to use build_exeext instead of exeext.
From-SVN: r14449
1997-07-15 19:04:04 -07:00
Doug Evans
434332b570
Change: if [[ x$thread_file = x ]]; then
...
to: if [[ x$enable_threads = xyes ]]; then
From-SVN: r14448
1997-07-15 19:48:10 +00:00
Richard Kenner
ffdd22a9d4
Clear headers and lib2funcs before re-reading config-lang.in.
...
From-SVN: r14439
1997-07-14 08:12:43 -04:00
Richard Kenner
1c988fb7c5
(alpha-*-linux-gnu*): Set tmake_file.
...
From-SVN: r14437
1997-07-14 08:03:37 -04:00
Richard Kenner
604d63b028
(sparc-*-linux-gnu{*,libc1*}): Add sparc/t-linux.
...
From-SVN: r14434
1997-07-14 08:00:57 -04:00
Richard Kenner
6b40374366
(*-*-gnu*): Add crt{begin,end}S.o to extra_parts.
...
From-SVN: r14429
1997-07-14 07:33:10 -04:00
Richard Kenner
9ad03bc1e2
(sparc-*-linux-gnulibc1*): New configuration.
...
From-SVN: r14381
1997-07-02 07:40:30 -04:00
Richard Kenner
d7308c0c97
(powerpc-*-linuxgnu*): Default thread_file is posix.
...
Set xmake_file to x-linux. Add extra_parts.
From-SVN: r14379
1997-07-02 07:03:18 -04:00
Richard Kenner
95fd39815d
(m68k-*-linux-gnu*): Default thread_file is `posix'.
...
(m68k-*-linux-gnulibc1): New configuration.
From-SVN: r14377
1997-07-02 07:00:33 -04:00
Richard Kenner
c811d261c3
(alpha-*-linux-gnu*): Default thread_file is `posix'.
...
From-SVN: r14375
1997-07-02 06:56:49 -04:00
Richard Kenner
844dadc757
(*-linux*): Add "-gnu" to names to match.
...
From-SVN: r14372
1997-07-02 06:40:14 -04:00
Richard Kenner
78b9f8df80
(i[3456]86-*-linux*): Default thread_file is `posix'.
...
(i[3456]86-*-linux*gnulibc1): New case.
From-SVN: r14353
1997-06-27 19:00:07 -04:00
Richard Kenner
0bbb169793
(--enable-threads): New parameter.
...
From-SVN: r14348
1997-06-27 18:47:40 -04:00
Richard Kenner
289661dcfe
Clean up Make-{host,target,hooks} in all subdirs, not just '.'.
...
From-SVN: r14344
1997-06-27 18:33:01 -04:00
Richard Kenner
5dfe8508a0
(i[3456]86-*-mingw32): New target.
...
From-SVN: r14341
1997-06-27 18:12:25 -04:00
Richard Kenner
f4fac32bed
(cc_set_by_configure): Eliminate extra comma and don't pass value to configure.lang.
...
(cc_set_by_configure): Eliminate extra
comma and don't pass value to configure.lang.
(stage_prefix_set_by_configure): Likewise.
From-SVN: r14319
1997-06-25 16:55:50 -04:00