Commit Graph

82 Commits

Author SHA1 Message Date
jmc
84fafa3db5 Ignore errors on some rm -rf's for platforms that aren't quite
POSIX compliant
and return errors on r/o source (FreeBSD) for -rf. Fixes PR#25022
2004-06-21 18:20:08 +00:00
jmc
b5ac9053b4 Redo this rule so it depends on libiberty.a rather than just the directory.
Otherwise an aborted build would cause this to be skipped on MKUPDATE.
Also, run configure w. $HOST_SH as highlighted in PR#25606
2004-06-12 14:59:36 +00:00
jmc
75b4824f88 Fix some missing $HOST_SH needs as highlighted in PR#25606 2004-06-12 14:57:57 +00:00
skrll
279e627659 Re-run mknative. 2004-05-25 13:39:35 +00:00
martin
b3ac854ab5 On i386 and amd64 install emmintrin.h, so that SSE2 enabled compiles
work.
Fixes PR toolchain/25497.
2004-05-08 09:13:49 +00:00
uwe
5d3bac44ea Drop workaround for toolchain/22489 now that the fix for it has been pulled
from the gcc current.
2004-04-26 09:17:16 +00:00
skrll
44e60dd983 Fix forced MKPIC=no builds using the trick suggested by Luke. Thanks! 2004-03-18 19:48:15 +00:00
scw
a8bb5642ca Results of mknative run with gcc3.3.3 on sh5el. 2004-03-17 09:02:06 +00:00
skrll
bda33b4f10 NO* variable re-order. No functional change. 2004-03-05 10:55:16 +00:00
skrll
d68db0e48c Oops! Remove harmless -DNH=${MKPIC} 2004-03-01 08:52:53 +00:00
skrll
ce461bed68 Fix PR 24593.
XXX NOPIC and MKPIC need separating
2004-02-29 17:05:31 +00:00
skrll
0aae540257 Backout recent changes made to gnu/lib/libgcc3 for a forced MKPIC=no build.
Fix the behaviour of native and tools gcc when MKPIC=no is specified for
platforms that mknative has determined support shared libraries.

XXX distrib/sets/sets.subr doesn't support MKPIC=no
2004-02-27 14:52:01 +00:00
uwe
7a1ea12099 Work around toolchain/22489 (gcc optimization/11937) by compiling
function.c with -O0.
2004-02-22 01:24:25 +00:00
skrll
f8314ad5e5 mknative sweep. mainly version string differences and STDC_HEADERs.
no need for the signbit stuff on sparc as libc got fixed.
2004-02-19 08:11:31 +00:00
skrll
7354ecab79 Re-run mknative for mipseb (sgimips). Should close PR 24438. 2004-02-16 16:06:38 +00:00
skrll
b263dbdd73 Be more gcc like in the way we deal with libgcc so that sh3/hppa millicode
and exception handling have a chance of working properly.

        - creates libgcc, libgcc_eh and libgcc_s

        - updates LIBGCC_SPEC to use them appropriately.

          There's a hack in here at the moment with respect to libgcc_so in that it
          is preferable to link against libgcc_so will only when -shared-libgcc is
          specified (the c++ frontend does this automatically.) Configurations where
          LINK_EH_SPEC is defined already do this. The gcc configuration for
          NetBSD/alpha and another NetBSD platform (I forget which) actually define
          LINK_EH_SPEC probably by accident rather than design.

        - updates share/mk to use the compiler's knowledge of what needs linking into
          libraries and executables. This removes an hppa hack.

        - updates the sets for the newly created libgcc* files.

	- support for linking against the _pg version of libgcc has been removed.
2004-02-15 19:52:27 +00:00
simonb
3e7ae7aefb Re-run mknative with latest mknative-gcc. 2004-02-14 08:39:07 +00:00
skrll
13145e5f28 Results of re-running mknative for a few MACHINE_ARCHs 2004-02-12 22:34:57 +00:00
mrg
41ba62f48c - some libgcc3/Makefile updates for new mknative
- re-run mknative for ~nearly everyone
2004-02-11 16:22:51 +00:00
mrg
0e4a80d700 regenerate with GCC 3.3.3-pre20040209.
XXX: missing vax, sh3*, hppa
2004-02-11 04:04:02 +00:00
matt
cfbf1414f1 initial GCC3 support for VAX. (barely tested). No PIC support (aka no
shared libraries).  This is an initial step to full GCC3 support for VAX.
2003-12-08 03:33:13 +00:00
scw
9867e34ef7 - Work around a gcc3 ICE when building reload1.c at -O2 on sh5:
Compile reload1.c at -O1.

 - Work around a fatal warning when building function.c on sh5:
   Define NOGCCERROR to disable -Werror.
2003-12-07 19:56:59 +00:00
simonb
affca5fc17 Use -O1 to compile cppmacro.c on ns32k to avoid an ICE. 2003-12-07 12:51:43 +00:00
simonb
df1bc575d0 Include gthr-single.h instead of gthr-posix.h on ns32k now. 2003-12-07 12:44:54 +00:00
scw
03aed749f0 Update for gcc 3.3.2 support (with in-tree binutils). 2003-12-07 10:02:45 +00:00
matt
ed5964b611 Install the MMX/SSE/Altivec include files that gcc provides. 2003-12-05 18:56:11 +00:00
simonb
f0467a5c13 Add ns32k GCC3 support. 2003-12-05 12:05:32 +00:00
lukem
b7b564a26d add fini.lo to CLEANFILES 2003-11-16 22:49:48 +00:00
lukem
263786182a support MAKEVERBOSE 2003-11-16 16:29:04 +00:00
lukem
59c9b264d0 Use .lo for host tool objects.
Use CPPFLAGS.file correctly (CPPFLAGS.foo.c _not_ CPPFLAGS.foo.o !)
Support MAKEVERBOSE.
Be consistent about make(1) variable use.
2003-11-16 16:24:48 +00:00
mrg
68002eaa4a build ra-colorize.c with -O0 until the bug that causes it to have dozens
of undefined references to local symbols is fixed.
2003-11-05 00:05:48 +00:00
scw
437384a077 Regen for TARGET_ENDIAN_DEFAULT=ARM_FLAG_BIG_END fix in config.gcc. 2003-11-04 14:46:59 +00:00
mrg
1b3f9cdd10 revert previous 2003-10-27 23:56:14 +00:00
mrg
42f41e65c7 mostly working configuration updates for sun2.
XXX - gcc3/backend/ra-colorize.c gets built wrong and the backend programs
XXX   fail to link.
XXX - mdsetimage & installboot/ffs.c get an unrecogised instruction ICE.
2003-10-27 16:55:32 +00:00
mrg
a4697adcfc change "cc -dumpversion" back to "3.3.2", as per old behaviour.
should fix PR#23280.
2003-10-27 16:43:29 +00:00
mrg
8d8c032590 add armeb-netbsdelf GCC3 support. (not tested) 2003-10-27 01:37:08 +00:00
lukem
857ab1bdd0 use ${HOST_SH} instead of /bin/sh 2003-10-26 03:50:07 +00:00
dmcmahill
a2cc19e091 avoid trying to do "for f in ; do ..." which breaks while crosscompiling
on certain non-netbsd host.  Approved by Matthew Green, mrg at netbsd.
2003-10-25 02:42:00 +00:00
seb
e8b3aed4d7 Update version reported by gcc -dumpversion: it is now `3.3.2-nb1'
not `3.3.1' as before and neither `3.3.2'.

Approved by mrg@.
2003-10-23 09:59:25 +00:00
lukem
130ab7336b Rework how MAKEVERBOSE operates:
*	Don't bother prefixing commands with a line of  ${_MKCMD}\
	and instead rely upon "make -s".  This is less intrusive on
	all the Makefiles than the former.  Idea from David Laight.

    *	Rename the variables use to print messages.  The scheme now is:
	    _MKMSG_FOO		Run  _MKMSG 'foo'
	    _MKTARGET_FOO	Run  _MKMSG_FOO ${.TARGET}
	From discussion with Alistair Crooks.
2003-10-21 10:01:19 +00:00
lukem
3fc127cd66 Support MAKEVERBOSE
Use ${HOST_SH}
Use BUILDSYMLINKS
2003-10-20 01:15:03 +00:00
lukem
9da74b23ca Don't auto-frob .y or .l files. 2003-10-16 03:33:28 +00:00
enami
de00b9ee01 Serialize the build of backend and frontend, since the latter requires
header files created during the former is built.
2003-10-11 05:16:18 +00:00
matt
926373d2c9 Turn on HAVE_GAS_HIDDEN. 2003-10-07 02:19:18 +00:00
veego
982d95a75b Fix part 3 of toolchain/23067 while adding a depend target to the
dependall and all targets which build libiberty.
Fix from mrg.
2003-10-06 21:40:32 +00:00
matt
39caecb211 Add in-tree toolchain support for HPPA. 2003-10-06 05:10:13 +00:00
tron
d7e742e438 Move inclusion of "Makefile.backend" a bit further up again to fix
build failures.
2003-09-26 06:55:48 +00:00
tron
1c9e757817 Include "Makefile.backend" at the end so that "CLEANFILES" definitions
are not ignored.
2003-09-26 06:53:30 +00:00
matt
5d47b7eb8c Add a .PATH dependency on the target's gcc config directory. 2003-09-23 09:04:40 +00:00
matt
65f3d076cb Regenerated powerpc--netbsd files. 2003-09-23 07:31:54 +00:00