Commit graph

655 commits

Author SHA1 Message Date
Michael Meissner
6e005d44f1 Add Solaris on PowerPC support 1996-04-08 20:21:37 +00:00
Ian Lance Taylor
d4be776500 * configure.in: Permit --enable-shared to specify a list of
directories.
1996-04-08 18:46:26 +00:00
Jason Molenda
e94c0e40b2 * configure.in (host==solaris): Pass only the first word of $CC
to /usr/bin/which when checking if we're using /usr/ccs/bin/cc.

/usr/ucb/which on Solaris barfs out an error if $CC is set to
seomthing like "cc -xcg92" or "gcc -mv8".  It is harmless, but it looks
bad.
1996-04-05 16:32:37 +00:00
Jason Molenda
eb40ca932e * Makefile.in (BASE_FLAGS_TO_PASS): pass down $(MAKE).
w/o this, if you use GNU make on a Solaris platform (eg), but you don't
have GNU make at the front of your path, when the make/ subdir cds down
into make/glob and does a make there, you will end up picking up the
first make that is in your path no matter what you do.

No PR, I just noticed this while I was working on something else.
1996-04-05 11:18:57 +00:00
Tom Tromey
0f8f1d33d8 * Makefile.in (ALL_MODULES): Include all-perl.
(CROSS_CHECK_MODULES): Include check-perl.
        (INSTALL_MODULES): Include install-perl.
        (ALL_X11_MODULES): Include all-guile.
        (CHECK_X11_MODULES): Include check-guile.
        (INSTALL_X11_MODULES): Include install-guile.
        (all-perl): New target.
        (all-guile): New target.

        * configure.in (host_tools): Include perl and guile.
        (native_only): Include perl and guile.
        (noconfigdirs): Don't build guile and perl; no ports have been
        done.
1996-03-29 19:02:30 +00:00
Michael Meissner
977ff85a74 Patch from Andrew Cagney to handle quoted option lists with embedded spaces 1996-03-28 21:59:26 +00:00
Ian Lance Taylor
b213fd2917 * Makefile.in (DO_X): Don't get confused if CC contains `=' in an
option.
1996-03-15 00:33:04 +00:00
Ian Lance Taylor
a527d9d7f1 * configure.in (mips*-nec-sysvr4*): Use a host_makefile_frag of
config/mh-necv4.
1996-03-15 00:31:00 +00:00
Ian Lance Taylor
c0914b6e6e * install.sh: Correct misspelling of transformbasename. 1996-03-15 00:18:41 +00:00
Ian Lance Taylor
e6769dee6d * config.guess: Recognize mips-*-sysv*. 1996-03-15 00:17:48 +00:00
Ian Lance Taylor
a9872a287b * configure: Restore Canadian Cross handling of BISON and LEX,
removed in Feb 20 change.
1996-03-10 18:23:57 +00:00
Ian Lance Taylor
9dd5affc33 * Makefile.in ($(CONFIGURE_TARGET_MODULES)): If there is a
Makefile after running symlink-tree, then run `make distclean' to
	avoid clobbering any generated files in srcdir.
1996-03-08 22:55:13 +00:00
J.T. Conklin
08714af65c * configure.in (m68k-*-netbsd*): Build everything now. 1996-03-05 16:24:35 +00:00
Jason Merrill
aaefc574d6 Wed Feb 28 12:25:46 1996 Jason Merrill <jason@yorick.cygnus.com>
* Makefile.in (taz): Fix quoting.
1996-02-28 20:26:15 +00:00
David Edelsohn
e12079d34e * configure.in (sparclet-*-*): Build everything now. 1996-02-27 19:35:14 +00:00
Ian Lance Taylor
769e064df8 Tue Feb 27 14:31:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* configure.in (m68k-*-linux*): New host.
1996-02-27 19:32:39 +00:00
David Edelsohn
be317b066f * configure.in (sparc64-*): Use mh-sparcpic if --enabled-shared. 1996-02-26 23:42:39 +00:00
David Edelsohn
74a03cacb9 * config.sub (sparc*frw*): Delete. Use -mflat now. 1996-02-26 23:26:30 +00:00
Ian Lance Taylor
a8e06235d3 * configure: Check for bison before byacc. 1996-02-26 19:35:01 +00:00
Ian Lance Taylor
b6ae0f1031 * Makefile.in: Make everything which depends upon all-bfd also
depend upon all-opcodes, in case --with-commonbfdlib is used.
1996-02-19 16:46:39 +00:00
Michael Meissner
44ccfc3c16 Do not build gdb if building native NT compilers on a UNIX host with a cross compiler 1996-02-16 00:53:00 +00:00
Ian Lance Taylor
0e47ce9751 * configure.in: Don't get CC from the host Makefile fragment if we
can find gcc in PATH, or if this is a Canadian Cross.  Move the
	Solaris test for /usr/ucb/cc to the post target script, just after
	the compiler sanity test.
1996-02-15 22:43:59 +00:00
Ian Lance Taylor
efc1902b6c * config.sub: Merge with FSF. 1996-02-14 21:59:31 +00:00
David Edelsohn
e08dfe61e9 Recognize sparclet cpu. 1996-02-12 23:31:29 +00:00
Per Bothner
1d0e073276 Merge from FSF. 1996-02-12 21:04:11 +00:00
Brendan Kehoe
4c49451585 * config.guess (UNAME_VERSION): Recognize X4.x as an OSF version. 1996-02-08 23:38:33 +00:00
Michael Meissner
d03a1ca81a Winsup needs libiberty 1996-02-03 15:46:00 +00:00
Michael Meissner
fcfcbf27be Fix typo 1996-02-02 23:01:14 +00:00
Geoffrey Noer
0807a8afd8 Changes to configure.in so that -gm-magic targets won't build libgloss
anymore.
1996-02-02 01:07:16 +00:00
Stan Shebs
2805d4b86f * mpw-configure (extralibs_name, rez_name): Set correctly
for MWC68K compiler.

	* mpw-README: Add more info on the necessary build tools.
1996-02-01 20:42:27 +00:00
Steve Chamberlain
9daacfc4e4 * configure.in, config.sub: Recognize cygwin32. 1996-02-01 18:23:56 +00:00
Ian Lance Taylor
349f03db9c Wed Jan 31 14:17:10 1996 Richard Henderson <rth@tamu.edu>
* config.guess, config.sub: Recognize A/UX.
1996-01-31 19:18:19 +00:00
Ian Lance Taylor
d586f394b5 * config.sub: Merge with gcc/config.sub. 1996-01-31 18:52:30 +00:00
Jackie Smith Cashion
b209d2a3d9 Thu Jan 25 17:05:26 1996 James G. Smith <jsmith@cygnus.co.uk>
* config.sub: Add recognition for mips64vr4100*-* targets.
1996-01-25 17:08:24 +00:00
Brendan Kehoe
397a4fa366 * test-build.mk: Add checking of hpux9' rather than just hpux'.
Add creation of gconfigargs with `--enable-shared' turned on.
	($(host)-stamp-stage2-configured): Pass $(gconfigargs).
	($(host)-stamp-stage3-configured): Likewise.
	(HOLES): Add chatr and ldd.
	(i386-ncr-sysv4.3*): Add use of /usr/ccs/bin in the PATH and HOLE_DIRS.
1996-01-24 20:48:09 +00:00
Per Bothner
df1ddda986 * configure: Pass --nfp to recursive configures. 1996-01-24 20:30:07 +00:00
Steve Chamberlain
84aa3e6938 Mon Jan 22 10:41:56 1996 Steve Chamberlain <sac@slash.cygnus.com>
* Makefile.in (DLLTOOL): New.
	(DLLTOOL_FOR_TARGET): New.
	(EXTRA_HOST_FLAGS): Pass down DLLTOOL.
	(EXTRA_TARGET_FLAGS): Ditto.
	(EXTRA_GCC_FLAGS): Ditto.
	(CONFIGURE_TARGET_MODULES): Ditto.
	(DO_X): Ditto.
	* configure: Add DLLTOOL.
1996-01-22 19:28:13 +00:00
Stan Shebs
a48876fcf0 SCO OpenServer 5 changes from Robert Lipe <robertl@dgii.com>:
* configure.in (i[345]86-*-sco3.2v5*): Use mh-sysv instead of
	mh-sco, since old workarounds no longer needed, and don't
	build ld, since libraries have weak symbols in COFF.
1996-01-19 21:44:26 +00:00
Jim Wilson
fd614e066c Delete obsolete SH3e sanitization. 1996-01-16 19:55:27 +00:00
Fred Fish
9908eb6a23 * Makefile.in (CONFIGURE_TARGET_MODULES): Add missing ';'. 1996-01-15 07:04:36 +00:00
Ian Lance Taylor
b5ae841913 * configure.in: Make sure that ${CC} can be used to compile an
executable.
1996-01-12 20:26:05 +00:00
Michael Meissner
01082eaf19 Make all-gdb include all-tcl/all-tk unless gdbtk is not built. 1996-01-06 12:33:59 +00:00
David Edelsohn
4c0b7ebc0f * Makefile.in (newlib.tar.gz): Delete building of newlib's info files. 1996-01-04 01:56:05 +00:00
David Edelsohn
a493dcd8ba * config-ml.in: Add support for
--disable-{softfloat,m68881,m68000,m68020} on m68*-*-*.
	Simplify setting of multidirs from --disable-foo.
1995-12-31 00:13:13 +00:00
Michael Meissner
2ab80461fc Allow toplevel make to over certain GCC variables; add all-bootstrap target 1995-12-29 13:43:06 +00:00
Michael Meissner
04bdf3229e Add Pentium DG/UX support 1995-12-26 16:43:40 +00:00
Michael Meissner
d3c0ec6387 Add PentiumPro support 1995-12-21 21:09:43 +00:00
Brendan Kehoe
0b0124c6cc * configure.in (noconfigdirs): Add gas or ld if --with-gnu-as=no or
--with-gnu-ld=no.

Don't build/configure gas or ld if we said we don't want them.
1995-12-21 01:42:59 +00:00
Michael Meissner
d1265690b1 Add switches to control AIX multlibs 1995-12-20 20:17:24 +00:00
Stan Shebs
33bc6fe5fc * Makefile.in: (configure-target-examples, all-target-examples):
New targets, configure and build example programs.
1995-12-18 19:50:07 +00:00
Stan Shebs
a585028b88 * mpw-configure: If an mpw-config.in generated a file mk.sed,
use it as input to sedit the generated MPW makefile.
	* mpw-README: Add a suggestion about Gestalt.h.
1995-12-16 00:20:14 +00:00
Ian Lance Taylor
48ac185397 * config.sub: Accept *-*-ieee*. 1995-12-13 21:45:07 +00:00
Ian Lance Taylor
8c5bc3e33a * Makefile.in (local-distclean): Remove $(TARGET_SUBDIR). From
Ronald F. Guilmette <rfg@monkeys.com>.
1995-12-12 17:03:18 +00:00
Jason Molenda
a51794f15a * configure.in (host==powerpc-pe): Add many directories to noconfigdirs
for powerpc-pe native.
        (target==i386-win32): add tcl, make to noconfigdirs if canadian cross.
        (target==powerpc-pe): duplicate i386-win32 entry.
1995-12-11 23:34:30 +00:00
Jim Wilson
406477a696 Disable newlib for all vxworks targets. 1995-12-09 22:59:09 +00:00
Stan Shebs
4ac27a602f * mpw-configure: Add support for exec-prefix. 1995-12-04 20:48:19 +00:00
Jeff Law
ebf7305276 * config.guess: Recognize HP model 816 machines as having
a PA1.1 processor.

Already at the FSF.
1995-12-04 18:19:32 +00:00
Ian Lance Taylor
c222f1246f * configure: Ignore new autoconf configure options. 1995-12-04 17:34:36 +00:00
J.T. Conklin
cee52482d3 * config/mt-v810 (CC_FOR_TARGET): Add -ansi flag. NEC compiler
defaults to K&R mode, but doesn't have varargs.h, so we have to
compile in ANSI mode.
1995-11-30 23:01:31 +00:00
Per Bothner
638536a7ef * config.guess: Recognize Pentium under SCO. 1995-11-30 22:00:52 +00:00
J.T. Conklin
d25fd70ded * configure.in (noconfigdirs): Disable target-libio on v810-*-*.
* config/mt-v810 (CC_FOR_TARGET, AS_FOR_TARGET, AR_FOR_TARGET,
RANLIB_FOR_TARGET): Set as appropriate for NEC v810 toolchain.
1995-11-29 21:57:12 +00:00
Ian Lance Taylor
2a3486d2f9 * configure.in: Don't configure gas for alpha-dec-osf*. 1995-11-29 17:09:41 +00:00
Ian Lance Taylor
4f0ad91b9b * configure.in: Default to --with-stabs for some targets for which
it makes sense: mips*-*-*, alpha*-*-osf*, i[345]86*-*-sysv4* and
	i[345]86*-*-unixware*.
1995-11-28 22:15:27 +00:00
Ian Lance Taylor
f70c5b5618 * config-ml.in: Get list of multidirs using gcc --print-multi-lib
rather than basing it on the target.  Simplify handling of options
	controlling which directories to configure.  Remove extraneous
	slash in multi-clean target.
1995-11-27 18:50:31 +00:00
David Edelsohn
2a59259c98 * config-ml.in: Prefix more variables with ml_ so they don't collide
with configure's.
1995-11-25 01:40:05 +00:00
Ian Lance Taylor
81749575db * configure: Don't turn -v into --v. 1995-11-22 16:30:36 +00:00
David Edelsohn
90bdf86429 * configure.in (targargs): Fix typo. 1995-11-22 00:49:42 +00:00
David Edelsohn
283a2b3dbf * Makefile.in (DEVO_SUPPORT): Add symlink-tree. 1995-11-22 00:08:26 +00:00
Ian Lance Taylor
7fc36fdab4 * configure.in: Strip --host and --target options from
CONFIG_ARGUMENTS, and always configure for --host only.  Add
	--with-cross-host option when building with a cross-compiler.
	* configure: Canonicalize the arguments put into config.status by
	always using `=' for an option with an argument.  Pass a presumed
	--host or --target explicitly.
1995-11-21 19:13:51 +00:00
Jason Molenda
77cd090ad5 * configure.in (target_configdirs): add target-winsup only
for win32 target systems.
1995-11-18 01:43:37 +00:00
Ian Lance Taylor
71a164f70a * Makefile.in (all-target-libgloss): Depend upon
configure-target-newlib, since when libgloss is built it looks to
	see if the newlib directory exists.
1995-11-16 19:05:52 +00:00
Ian Lance Taylor
29386972b9 * configure: Handle LD and LD_FOR_TARGET when configuring a
Canadian Cross.
1995-11-15 16:46:19 +00:00
Jason Molenda
600b2f21c9 * configure.in (target_libs): add target-winsup.
(target==i386-win32): add patch diff flex make to $noconfigdirs.
        (target==ppcle-pe): remove ld from $noconfigdirs.
1995-11-14 22:58:14 +00:00
David Edelsohn
d747cac4c2 * Makefile.in (CONFIGURE_TARGET_MODULES): Pass --with-target-subdir.
Preserve relative path names in $srcdir.  Build symlink tree if
	configuring cross target dir and srcdir=. (= no VPATH support).
	(configure-target-libg++): Depend on configure-target-librx.
	* cfg-ml-com.in, cfg-ml-pos.in: Deleted.
	* config-ml.in: New file.
	* symlink-tree: New file.
	* configure: Ensure srcdir="." if that's what it is.
1995-11-14 09:32:50 +00:00
Stan Shebs
13a0f5955f * mpw-README: Clarify some phrasing, add notes about CodeWarrior
includes and FLEX_SKELETON setting.
	* mpw-configure (--with-gnu-ld): New option, controls whether
	to use PPCLink or ld with PowerMac GCC.
	* mpw-build.in (all-grez, do-grez, install-grez): New targets.
	* mpw-config.in: Configure grez if targeting Mac.
1995-11-14 03:31:22 +00:00
Stan Shebs
19b1d034dc * config.sub: Accept pmac and pmac-mpw as names for PowerMacs,
accept mpw and mac-mpw as names for m68k Macs, change macos7 to
 	just macos.
	* configure.in: Configure grez resource compiler if targeting Mac.
	* Makefile.in (all-grez, install-grez): New targets.
1995-11-13 20:47:41 +00:00
Ian Lance Taylor
bfe725ec1d * configure: Default ${build} correctly. Avoid picking up extra
spaces when reading CC and CXX from Makefile.  When doing a
	Canadian Cross, use plausible default values for numerous
	variables.
	* configure.in: When doing a Canadian Cross, don't try to
	configure tools whose configure script can't handle it.
1995-11-07 23:47:45 +00:00
Jim Wilson
f59312e9d9 Patch for old Sega PR
* cfg-ml-com.in (sh-*-*): Add m2 and ml/m2 to multidirs.
1995-11-07 04:05:40 +00:00
Per Bothner
96457d7f4d * configure: Remove dubious bug reporting address. 1995-11-05 08:14:38 +00:00
Per Bothner
d3e8ed54bd * Makefile.in ($(CONFIGURE_TARGET_MODULES)): If subdir has
configure script, run that instead of this directory's configure.
	In either case, print a message that we're configuring the sub-dir.
1995-11-03 16:18:31 +00:00
Per Bothner
b58d9e5d03 * configure.in: Before checking for the existence of various files,
use sed to filter out "target-".
1995-11-03 16:08:08 +00:00
Ian Lance Taylor
ec7a8792d9 * Makefile.in (DO_X): Split rule to decrease command line length
for systems with small ARG_MAX values.  From phdm@info.ucl.ac.be
	(Philippe De Muyter).
1995-11-03 03:52:08 +00:00
Jason Molenda
be2c65d3c5 * Makefile.in (all-patch): depend on all-libiberty. 1995-11-01 23:19:28 +00:00
Ian Lance Taylor
fba668022c * configure.in: If the only directory in target_configdirs which
actually exists is libiberty, then set target_configdirs to empty,
	to avoid trying to build a target libiberty in a gas or gdb
	distribution.
1995-11-01 17:25:21 +00:00
J.T. Conklin
39772dd8f1 * configure.in (host_makefile_frag): Use m68k-sun-sunos* instead
of m68k-sun-* when selecting mh-sun3 to avoid matching NetBSD/sun3
systems.
1995-11-01 02:02:21 +00:00
Jim Wilson
52b5deb997 Patches to make fixincludes work for cross toolchains. 1995-11-01 01:03:31 +00:00
Steve Chamberlain
309dca2a1e * Makefile.in, configure.in: Make winsup builds work with
new scheme.
1995-10-31 18:32:51 +00:00
Ian Lance Taylor
92caaa6a62 * configure.in: Build the linker on AIX. 1995-10-30 23:58:15 +00:00
Per Bothner
e66eb65843 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Add $(TARGET_SUBDIR)
where needed.
1995-10-30 20:57:41 +00:00
David Edelsohn
fc3524a9cc * Makefile.in (all-gcc): Fix typo. 1995-10-30 20:47:56 +00:00
Per Bothner
136ca05d3a * Makefile.in ($(CHECK_TARGET_MODULES)): Fix typo. 1995-10-28 17:26:38 +00:00
Per Bothner
ab1cbc6742 * configure.in: Rename libFOO to target-libFOO, and xiberty
to target-xiberty, to provide more flexibility.
	(target_subdir):  Define.  Create if cross.
	Set TARGET_SUBDIR in Makefile to ${target_subdir}.
	* Makefile.in:  Rename all-libFOO -> all-target-libFOO, all-xiberty
	-> all-target-libiberty, configure-libFOO -> configure-target-libFOO,
	check-libFOO -> check-target-libFOO, etc.
	($(DO_X)):  Iterate over TARGET_CONFIGDIRS after SUBDIRS.
	($(CONFIGURE_TARGET_MODULES), $(CHECK_TARGET_MODULES),
	$(ALL_TARGET_MODULES), $(INSTALL_TARGET_MODULES)): Update accordingly.
	(configure-target-XXX):  Depend on $(ALL_GCC), not all-gcc, to
	allow ALL_GCC="" to only configure.
	(DEVO_SUPPORT):  Add cfg-ml-com.in and cfg-ml-pos.in.
	(ETC_SUPPORT, ETC_SUPPORT_PFX):  Merge;  update 'taz' accordingly.
	(LIBGXX_SUPPORT_DIRS):  Remove xiberty.
1995-10-28 06:28:42 +00:00
Ken Raeburn
3dbe0fa2a7 * Makefile.in (taz): Build "info" in etc explicitly. 1995-10-28 05:55:18 +00:00
Stu Grossman
2f9bfdfa15 * configure.in: Make sure that CC is undefined (as opposed to
null) if toplevel/config/mh-{host} doesn't define it.  Fixes a
	problem with autoconf trying to configure on a host without GCC.

	* config.sub:  Add `magic' as an OS target for General Magic.
1995-10-27 16:39:10 +00:00
Stan Shebs
7391e11c40 * mpw-configure: Set host alias from choice of host compiler,
only use generic MPW Makefile sed if present, edit a file
	named "hacked_Makefile.in" instead of "Makefile.in" if present.
	* mpw-README: Add problem notes about CW6 and CW7.
1995-10-27 05:39:36 +00:00
Ken Raeburn
65f1be0633 Makefile.in (taz): Use ";" not ";;". 1995-10-26 09:47:14 +00:00
Per Bothner
6b9e3a780b * Makefile.in (taz): Grep for '^diststuff:' or '^info:' in
sub-directory Makefiles, instead of using DISTSTUFFDIRS and
	DISTDOCDIRS.
	(DISTSTUFFDIRS, DISTDOCDIRS):  Removed - no longer used.
	(newlib.tar.gz):  Don't pass DISTDOCDIRS to recursive make.
1995-10-25 22:23:40 +00:00
Per Bothner
fd83c2d212 * Makefile.in (DISTDOCDIRS): Remove ld gprof bnutils gas libg++ gdb
and gnats, because they are now subsumed by DISTSTUFFDIRS.
	Move bfd to DISTSTUFFDIRS.
1995-10-25 21:54:55 +00:00
Jason Molenda
054f9adaa2 Tue Oct 24 18:19:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
* Makefile.in (X11_LIB): Removed.
        (X11_FLAGS_TO_PASS): pass only X11_EXTRA_CFLAGS and X11_EXTRA_LIBS.

        * configure.in (host_makefile_frag): mh-aix & mh-sun removed.
1995-10-25 01:21:08 +00:00
Michael Meissner
0228bc7b3a shorten some multi directory names. 1995-10-22 17:06:26 +00:00