aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cc/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* remove GCC 4.2.1 build infrastructureEd Maste2020-02-291-32/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | As described in Warner's email message[1] to the FreeBSD-arch mailing list we have reached GCC 4.2.1's retirement date. At this time all supported architectures either use in-tree Clang, or rely on external toolchain (i.e., a contemporary GCC version from ports). GCC 4.2.1 was released July 18, 2007 and was imported into FreeBSD later that year, in r171825. GCC has served us well, but version 4.2.1 is obsolete and not used by default on any architecture in FreeBSD. It does not support modern C and does not support arm64 or RISC-V. Thanks to everyone responsible for maintaining, updating, and testing GCC in the FreeBSD base system over the years. So long, and thanks for all the fish. [1] https://lists.freebsd.org/pipermail/freebsd-arch/2020-January/019823.html PR: 228919 Reviewed by: brooks, imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D23124 Notes: svn path=/head/; revision=358454
* Add more SUBDIR_PARALLEL.Bryan Drewery2015-10-151-1/+11
| | | | | | | | MFC after: 3 weeks Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=289393
* Remove old GNU Binutils tools now provided by ELF Tool ChainEd Maste2015-08-051-3/+0
| | | | | | | | | Reviewed by: bapt, brooks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3238 Notes: svn path=/head/; revision=286332
* Add ELF Tool Chain's c++filt to the buildEd Maste2015-04-301-1/+4
| | | | | | | | | Differential Revision: https://reviews.freebsd.org/D2408 Reviewed by: brooks, imp Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282285
* Remove GNU texinfo from base along with all info pages.Baptiste Daroussin2015-01-021-1/+1
| | | | | | | | | | | | To be able to info pages consider installing texinfo from ports print/texinfo or via pkg: pkg install texinfo Differential Revision: https://reviews.freebsd.org/D1409 Reviewed by: emaste, imp (previous version) Relnotes: yes Notes: svn path=/head/; revision=276551
* Make MK_GNUCXX mean "build the libstdc++ and libsupc++ libraries" andWarner Losh2014-07-101-6/+1
| | | | | | | | | | nothing more. Force it to be "no" when MK_CXX is "no" to simplify usage. It no longer also means "build g++" since we no longer have a platform where that's interesting now that pc98 no longer needs clang and gcc, but not g++. pc98 now just uses clang after boot2 changes. Notes: svn path=/head/; revision=268508
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-061-1/+1
| | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* On platforms where clang is the default compiler, don't build gcc or libstdc++.David Chisnall2013-09-061-1/+6
| | | | | | | | | | | | | | | | | | | | | To enable them, set WITH_GCC and WITH_GNUCXX in src.conf. Make clang default to using libc++ on FreeBSD 10. Bumped __FreeBSD_version for the change. GCC is still enabled on PC98, because the PC98 bootloader requires GCC to build (or, at least, hard-codes the use of gcc into its build). Thanks to everyone who helped make the ports tree ready for this (and bapt for coordinating them all). Also to imp for reviewing this and working on the forward-porting of the changes in our gcc so that we're getting to a much better place with regard to external toolchains. Sorry to all of the people who helped who I forgot to mention by name. Reviewed by: bapt, imp, dim, ... Notes: svn path=/head/; revision=255321
* Remove libobjc and other Objective-C related components, as these areDimitry Andric2011-04-171-4/+0
| | | | | | | | | extremely outdated, and not used by anything in the base system. Silence from: current@ Notes: svn path=/head/; revision=220755
* Update bmake glue to build GCC 4.2.Alexander Kabaev2007-05-191-8/+1
| | | | | | | | | | | | | | | | | | | | | | | | Also: Switch FreeBSD to use libgcc_s.so.1. Use dl_iterate_phdr to locate shared objects' exception frame info instead of depending on older register_frame_info machinery. This allows us to avoid depending on libgcc_s.so.1 in binaries that do not use exception handling directly. As an additional benefit it breaks circular libc <=> libgcc_s.so.1 dependency too. Build newly added libgomp.so.1 library, the runtime support bits for OpenMP. Build LGPLed libssp library. Our libc provides our own BSD-licensed SSP callbacks implementation, so this library is only built to benefit applications that have hadcoded knowledge of libssp.so and libssp_nonshared.a. When linked in from command line, these libraries override libc implementation. Notes: svn path=/head/; revision=169718
* Desupport the *_COLLECT2 no-op.Ruslan Ermilov2006-03-211-2/+2
| | | | Notes: svn path=/head/; revision=156935
* Reimplementation of world/kernel build options. For details, see:Ruslan Ermilov2006-03-171-6/+8
| | | | | | | | | | | 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) Notes: svn path=/head/; revision=156813
* Remove trailing whitespace.Alexander Kabaev2004-11-071-1/+1
| | | | | | | Pointed out by: ru Notes: svn path=/head/; revision=137361
* Reconnect c++filt to the build.Alexander Kabaev2004-11-071-2/+2
| | | | Notes: svn path=/head/; revision=137334
* Bmake glue for GCC 3.4.2-prerelease.Alexander Kabaev2004-07-281-1/+1
| | | | Notes: svn path=/head/; revision=132751
* Update bmake bits to build GCC 3.3.1-prerelease.Alexander Kabaev2003-07-111-1/+1
| | | | Notes: svn path=/head/; revision=117429
* Install the i386 MMX headers, and IA-64 intrinsics functions.David E. O'Brien2002-06-041-1/+1
| | | | | | | Requested by: peter Notes: svn path=/head/; revision=97831
* We don't need this library any more.David E. O'Brien2002-06-041-1/+1
| | | | Notes: svn path=/head/; revision=97830
* Back out revision 1.30 change.Ruslan Ermilov2002-05-171-2/+0
| | | | | | | | | | cc1plus can apparently be built if you happen to have /usr/bin/gperf, or set CXX to point to a C++ compiler that can build gperf(1) in the bootstrap-tools stage of buildworld. Notes: svn path=/head/; revision=96789
* Do not cut `docs' out of the build with NO_CXX.David E. O'Brien2002-05-171-2/+2
| | | | | | | | There are no longer GNU C++ specific info files, and it was a bug with Gcc 2.95 that NO_CXX would cause the C and CPP info files to not be installed. Notes: svn path=/head/; revision=96777
* Make sure to not yet build the GNU C++, but still allowRuslan Ermilov2002-05-151-0/+2
| | | | | | | | for the C++ progs to be built with e.g. an old compiler, CXX=/usr/bin/c++, for the time being. Notes: svn path=/head/; revision=96669
* Sorry, I did not mean to turn collect2 back on yet.David E. O'Brien2002-05-111-1/+1
| | | | Notes: svn path=/head/; revision=96395
* Bmake bits for Gcc 3.1.David E. O'Brien2002-05-101-4/+4
|\ | | | | | | | | | | | | Partially made possible by: Wilko.Bulte@compaq.com Notes: svn path=/head/; revision=96340
| * Bmake bits for GCC 3.1.David E. O'Brien2002-04-061-0/+31
| | | | Notes: svn path=/cvs2svn/branches/WIP_GCC31/; revision=94008
* Turn off collect2.David E. O'Brien2002-04-151-3/+3
| | | | | | | | | | | | | | collect2 was added based on the need of -frepo. However, -frepo is currently broken on -CURRENT (Gcc 2.95.4 20020320 [FreeBSD] / ld 2.12.0 [FreeBSD] 2002-04-10). It is also broken on RELENG_4 (Gcc 2.95.3 20010315 / ld 2.11.2 20010719), so there is no need to MFC collect2 there yet. I have a feeling the brokeness is due to the wide difference between the libiberty bits of Gcc 2.95 and the later ld. Testing by: fjoe Notes: svn path=/head/; revision=94720
* Build and install collect2. This is needed for some C++ programs.David E. O'Brien2002-04-061-0/+3
| | | | Notes: svn path=/head/; revision=94004
* I am no longer the FreeBSD GCC maintainer.David E. O'Brien2001-09-101-4/+0
| | | | Notes: svn path=/head/; revision=83305
* Note rules of enguagement.David E. O'Brien2001-03-151-0/+4
| | | | Notes: svn path=/head/; revision=74313
* Add `gcov' to the mix.David E. O'Brien2000-12-231-0/+4
| | | | | | | | Requested by: David Malone <dwmalone@maths.tcd.ie> PR: 18574 Notes: svn path=/head/; revision=70318
* Make the SUBDIR list more granular to assist in my GCC hacking.David E. O'Brien2000-03-191-1/+9
| | | | Notes: svn path=/head/; revision=58318
* Merge cc_drv into cc_int. Merge more shared files into cc_int.David E. O'Brien2000-01-241-1/+1
| | | | Notes: svn path=/head/; revision=56552
* Turn on a new /usr/bin/cpp that is a true binary rather than a shell scriptDavid E. O'Brien2000-01-041-1/+1
| | | | | | | | wrapper. /usr/bin/cpp knows about all the GCC predefined symbols and has the functionality of the previous EGCS 1.1.2 /usr/libexec/cpp. Notes: svn path=/head/; revision=55388
* Add libcc_fbsd.a that contains libc and libiberty routines needed inDavid E. O'Brien1999-12-191-1/+1
| | | | | | | | | bootstraping on FreeBSD specifically. 3.2 upgrade path tested by: marcel Notes: svn path=/head/; revision=54837
* remove cc1obj from the original SUBDIR list since it's made optionalMarcel Moolenaar1999-11-281-1/+1
| | | | | | | | | in the previous commit resulting. Forgotten by: obrien Notes: svn path=/head/; revision=53825
* Make ObjC bits optional. NO_OBJC ==> don't need `em.David E. O'Brien1999-11-271-3/+5
| | | | Notes: svn path=/head/; revision=53787
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
| | | | Notes: svn path=/head/; revision=50472
* Purely cosmetic cleanups.David E. O'Brien1999-08-161-3/+1
| | | | | | | | | | | - Id tag layout wrong. - "FOO =" -> "FOO=". - 4 space indention on continuation lines rather than a <tab> Basic idea checked by: bde Notes: svn path=/head/; revision=49864
* Hookup FORTRAN info docs.David E. O'Brien1999-04-251-1/+2
| | | | | | | Submitted by: Mark Murry Notes: svn path=/head/; revision=46069
* Hookup the new FORTRAN compiler. Define `NO_FORTRAN' to not compile it.David E. O'Brien1999-04-181-1/+6
| | | | Notes: svn path=/head/; revision=45762
* As the INFO stuff un doc/ works, we may as well build/install it.Mark Murray1999-04-131-2/+2
| | | | | | | OK'ed by: obrien Notes: svn path=/head/; revision=45659
* Minimum set of changes to switch from Gcc 2.7.2 (in contrib/gcc) to Egcs 1.1.2David E. O'Brien1999-04-041-2/+2
| | | | | | | (in contrib/egcs) Notes: svn path=/head/; revision=45299
* Hookup libgcc at gnu/lib instead of gnu/usr.bin/ccDavid E. O'Brien1999-03-311-2/+2
| | | | | | | (libgcc was repository copied for me by Peter) Notes: svn path=/head/; revision=45169
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22996
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Build/install c++filt from g++, we already have all the sources andPeter Wemm1996-10-131-2/+5
| | | | | | | | | | it's and useful. (Ever tried to read 'nm' and 'ldd -v' output on a c++ object or library? :-) This filter decodes the mangled symbol names.) Requested by: Chuck Robey <chuckr@glue.umd.edu> Notes: svn path=/head/; revision=18913
* Man the lifeboats! Tie down the hatches! Red alert! Activate gcc-2.7.2.1!Peter Wemm1996-09-191-3/+2
| | | | | | | | | | | | | | | | | | (the old cc has been tagged with "gcc_2_6_3_final" so we have a reference point in case of unforseen disasters...) This has the objc backend active, and I think I've managed to get the f77 f2c support through in one piece, but I don't know fortran to test it. A 'make world' change and libobjc commit will follow. If you normally do 'make -DNOCLEAN world', do not do so this time, I know it can fail with groff. This version of gcc makes a **LOT** more warnings on our kernel. Notes: svn path=/head/; revision=18390
* Add doc subdirAndrey A. Chernov1995-01-221-2/+2
| | | | Notes: svn path=/head/; revision=5782
* Integrated GCC-2.6.1 -> GCC-2.6.2 changes.Poul-Henning Kamp1994-11-151-1/+1
| | | | | | | | | | | | | | | | | Notice that the libgcc DOESN'T change number, because there are no changes. Also now the gnu2bmake stuff is synchronized again. I commit this so that others can test too. You might want to postpone any "make worlds" until tomorrow, to avoid any problems I didn't see in the first pass. Thanks to Bruce for rounding up our changes to gcc. Notes: svn path=/head/; revision=4491
* Added f77 program. This is a modified version of the c++ program.L Jonas Olsson1994-10-251-2/+2
| | | | | | | All it does is add -lf2c and -lm. Notes: svn path=/head/; revision=3853
* Make GCC's back end be shared among all languages. cc, c++, and cpp nowGarrett Wollman1994-09-181-1/+1
| | | | | | | | | | | | | | | | | | | no longer link against the whole library, since they don't require much from it, but just compile the few small modules they actually need static. This should save a measurable amount of space; compare: -r-xr-xr-x 1 bin bin 155648 Sep 18 18:00 cc1* -r-xr-xr-x 1 root bin 1048576 Sep 18 17:33 cc1.noshae* Of course, the library takes up a bit of space, but when you add in the savings from the C++ compiler, you more than make up the difference: -r--r--r-- 1 bin bin 1157344 Sep 18 18:27 /usr/lib/libcc_int.so.26.0 -r-xr-xr-x 1 bin bin 491520 Sep 18 18:27 /usr/libexec/cc1plus* Notes: svn path=/head/; revision=2871