Warner Losh
a817992dfc
Add additional support for generating code for the arm. There's still
...
a few issues in other parts of the tree, but those will be resolved
separately.
Submitted by: cogenet@
Reviewed by: kan@, obrien@
MFC After: 5 days
2006-09-18 17:08:32 +00:00
Warner Losh
ba15c568ab
Fix three whitespace nits.
...
I think these are from kan@...
2006-09-11 05:12:12 +00:00
Ruslan Ermilov
e1fe3dba5c
Reimplementation of world/kernel build options. For details, see:
...
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html
The src.conf(5) manpage is to follow in a few days.
Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
2006-03-17 18:54:44 +00:00
Alexander Kabaev
5f6d880564
Update bmake glue for GCC 3.4.4.
2005-06-03 04:21:04 +00:00
Ruslan Ermilov
7c996c4acc
A fix from rev. 1.52 of gnu/usr.bin/cc/cc_tools/Makefile was lost
...
in rev. 1.57. Fix this regression by making cc_tools a new-style
build-tool in Makefile.inc1. For details of what has been fixed,
please see the gnu/usr.bin/cc/cc_tools/Makefile,v 1.52 commit log.
Caught this by accidentally touching param.h while in the process
of cross-buildworld for amd64.
2004-08-18 13:21:40 +00:00
Alexander Kabaev
3b76f3bcca
Consolidate libiberty files in one place and avoid listing some
...
of them in several places.
Noticed by: bsdimp
2004-08-12 16:36:52 +00:00
Alexander Kabaev
81efba8c9e
Bmake glue for GCC 3.4.2-prerelease.
2004-07-28 05:27:21 +00:00
Peter Wemm
20fe68acb9
Revise previous commit - I managed to mess up a 1-line change and broke
...
amd64 world. The csu code evalues this Makefile with a different origin.
2004-06-11 00:35:29 +00:00
Peter Wemm
aabc36c5b8
The gcc/config/i386/freebsd64.h file neglects to override the default
...
(bogus, application name space) mcount function name on amd64. Override
it here instead.
I've done it this way to avoid touching gcc source while 3.4 is in
progress, and this is the smallest, lowest impact I could come up with.
Adding a patch touches about 10-14 lines of Makefile, this touches only 1.
This will likely go away with the 3.4 import.
I spoke with Alexander about this a few days ago, but waited until after
sorting out some of the other bugs in the userland profiling.
2004-06-10 22:18:33 +00:00
Bruce Evans
c561816b66
Backed out the residue of rev.1.13 (bogus addition of -static to CFLAGS).
...
Makeworld will add -static in the correct place if needed and possible.
Self-hosted builds can just use the system default.
Fixed some nearby style bugs (code unrelated to its comment, and comment
formatting).
2004-02-26 07:08:33 +00:00
Alexander Kabaev
1d38183672
Do not treat make variables as Perl variables.
2004-01-26 16:12:29 +00:00
Ruslan Ermilov
0161ff2670
Fixed "make clean".
2004-01-15 10:07:59 +00:00
Ruslan Ermilov
1b427c9cd4
Removed duplicate SRCS.
2004-01-12 07:46:20 +00:00
Alexander Kabaev
e67810e696
Update bmake bits to build GCC 3.3.1-prerelease.
2003-07-11 05:37:23 +00:00
Peter Wemm
fc369c7cd9
Add missing quote after cut/paste error in last commit. :-(
2003-06-26 20:34:08 +00:00
Peter Wemm
01e5a2aede
Configure gcc in biarch mode for amd64 so that the -m32 flag is enabled
...
for things like boot blocks etc.
Reviewed by: kan
2003-06-26 03:02:32 +00:00
David E. O'Brien
8f3bf9945d
Lock GCC w/o -m32 into 64-bit mode.
2003-05-01 15:00:46 +00:00
David E. O'Brien
a12d8aed9a
We're changing the platform name from x86[_-]86 to amd64.
2003-04-26 20:04:38 +00:00
Alexander Kabaev
9734ce03a2
Add multilib_options variable definition.
...
Approved by: obrien
2002-10-10 04:56:35 +00:00
David E. O'Brien
1ca4970561
We're going to have to use a TARGET_ARCH of "x86_64" rather than "x86-64"
...
to make building GCC happy.
2002-09-12 15:56:21 +00:00
David E. O'Brien
5a87307b7f
Use a more API denoting way to handle what is in libc and what isn't.
2002-05-18 04:49:44 +00:00
Ruslan Ermilov
2898afe627
Make it possible to build a cross compiler for alpha,
...
ia64 and sparc64 on systems that do not have atoll(3).
The "cross" here doesn't necessarily mean cross-arch.
2002-05-16 15:18:13 +00:00
David E. O'Brien
fcbdc1f8a0
Add x86-64 bits.
2002-05-15 22:40:50 +00:00
David E. O'Brien
23735e10dd
The IA-64 config needs to know that we are using GNU ld & as.
...
Submitted by: peter
2002-05-15 21:59:46 +00:00
David E. O'Brien
d147c3da04
Touching the sjlj setting on IA-64 makes things not build.
...
Submitted by: peter
2002-05-10 17:42:19 +00:00
David E. O'Brien
415f2bb46f
Gather up the stragglers that depends on genrtl.h. This is -j10 safe now.
2002-05-10 10:21:19 +00:00
David E. O'Brien
01c50f1782
This was *very* -j unsafe. Add a dependency on the common generated
...
headers to mostly make it -j1 safe.
2002-05-10 10:14:53 +00:00
David E. O'Brien
3cdd876f04
Bmake bits for Gcc 3.1.
...
Partially made possible by: Wilko.Bulte@compaq.com
2002-05-10 08:54:50 +00:00
David E. O'Brien
9d838dbb47
Remove the #ifdef IN_GCC junk. We *know* we are building GCC with these
...
bits. Also remove comment about keeping in sync with other instances in
the source tree -- it was too easy to get out of sync, so the other
instances now use this instance.
2002-04-15 03:41:47 +00:00
David E. O'Brien
9e3b001017
Bmake bits for GCC 3.1.
2002-04-06 23:18:01 +00:00
David E. O'Brien
6d57d58120
A little more reorg.
2002-04-05 10:23:19 +00:00
David E. O'Brien
fda035bb2c
MFC: remove 2.6.3 cc_int shlib cruft and s/GNU_ARCH/TARGET_ARCH/g.
2002-04-04 18:30:57 +00:00
David E. O'Brien
953bfb1637
Remove some local cruft that snuck in yesterday.
2002-04-04 18:24:56 +00:00
David E. O'Brien
5ccf2039e4
Get rid of GCC_ARCH, and just use plain TARGET_ARCH.
...
We got rid of the MIPS le/be stuff that needed this a long time ago.
2002-04-04 00:11:00 +00:00
David E. O'Brien
3d3dea1bbc
Move the creation of the insn-*.c files from cc_tools to cc_int.
...
This gets rid of a cross build problem we have because we build
everything in cc_tools during the `make build-tools' (or `make depend')
stage.
2002-03-02 08:53:36 +00:00
David E. O'Brien
8561d1123d
Changes in order to compile GCC 3.0.2.
...
Really irritating changes are the "forced" layering of malloc + friends
in order to use the GNU versions. Sorry, we have a *very* fine malloc,
and we will use it. Period. Even more irritating is that the GNU people
now want to replace ctype also!! So we partially dike it out here.
2001-12-18 03:19:11 +00:00
David E. O'Brien
838bc11f60
We need to build ``.depend'' early in the "build-tools" for the GCC
...
"build-tools". If we do not do this, the "depend" stage of
"buildworld" will build ``.depend'' and it will record the wrong
library and header dependencies (DESTDIR=${WORLDTMP}). Even worse,
the "all" stage may clobber build-architecture-format build tools
built in the "build-tools" stage with target-architecture-format ones.
Submitted by: ru
2001-09-27 17:14:33 +00:00
David E. O'Brien
e7d01c5d0b
Include `dbxelf.h' via tm.h (the approved FSF/GNU way) vs. in our MI header.
2001-03-02 03:00:41 +00:00
David E. O'Brien
6e51951114
tm.h should include the platform specific ELF header if it exists.
2000-12-03 00:11:19 +00:00
David E. O'Brien
ac419355a1
Clean up the FreeBSD configuration files -- includes removing the usage
...
of svr4.h on the i386, and moving all the shared arch neutral bits into
the FreeBSD general config header.
2000-03-23 10:18:26 +00:00
David E. O'Brien
aef79b9c89
"Rev.1.45 of cc_tools/Makefile was a wrong fix for a problem introduced
...
in rev.1.44 (the egcs to gcc switch). The problem is that print-rtl.o
is now needed to build some tools, but it wasn't added to the list of
objects which are specially handled because they are prerequisites for
tools."
Submitted by: bde
2000-01-29 12:38:21 +00:00
David E. O'Brien
54e6aeb25d
Simply cc_tools/Makefile by moving the parser generation to the respective
...
backends.
2000-01-24 09:17:09 +00:00
David E. O'Brien
0eb6f1f6c1
I *hate* using "i" in variables, looks too much like "1" or "l".
2000-01-23 22:46:00 +00:00
David E. O'Brien
5918196236
Build genrtl.h before print-rtl.o.
...
Submitted by: John Hay <jhay@mikom.csir.co.za> (basic idea, changed by me)
1999-11-17 15:50:45 +00:00
David E. O'Brien
eb33411e9b
Cut over the system compiler from from EGCS 1.1.2 to GCC 2.95.2.
1999-11-15 04:16:19 +00:00
David E. O'Brien
07123604c5
Purely cosmetic changes to lineup targets.
1999-11-15 00:29:00 +00:00
David E. O'Brien
96ace1a290
`make' will fail if hash.h exists for some reason and gxx-hash needs to be
...
rebuilt. Fix this.
Submitted by: bde
1999-10-30 08:08:29 +00:00
David E. O'Brien
831ac5c655
Add a comment explaing the linking and segrated the old and new cases a little.
1999-10-12 20:27:53 +00:00
David E. O'Brien
047419e54f
Change the name of the file generaged from gxx.gperf from "hash.h" to
...
"gxx-hash.h" with hopes of getting Cygnus to do the same. We create a link
to the old name for now.
1999-10-12 20:25:11 +00:00
Peter Wemm
9b7a44a60e
$Id$ -> $FreeBSD$
1999-08-27 23:37:10 +00:00