aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cc/cc1
Commit message (Collapse)AuthorAgeFilesLines
* remove GCC 4.2.1 build infrastructureEd Maste2020-02-292-52/+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
* Don't use CCACHE for linking.Bryan Drewery2018-06-271-1/+1
| | | | | | | | MFC after: 2 weeks Sponsored by: Dell EMC Notes: svn path=/head/; revision=335733
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* DIRDEPS_BUILD: Update GCC dependencies.Bryan Drewery2016-06-041-0/+2
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=301402
* DIRDEPS_BUILD: Regenerate without local dependencies.Bryan Drewery2016-02-241-2/+0
| | | | | | | | | | | These are no longer needed after the recent 'beforebuild: depend' changes and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports skipping 'make depend'. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295989
* Use LIBEXECDIR for /usr/libexec.Bryan Drewery2015-11-261-1/+1
| | | | | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291348
* META_MODE: Remove DEP_RELDIR from Makefile.depend files.Bryan Drewery2015-09-251-2/+0
| | | | | | | | | This has not been needed since r284171 in projects/bmake. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=288226
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+25
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * Merge from headSimon J. Gerraty2014-05-081-1/+1
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=265720
| * Merge headSimon J. Gerraty2014-04-281-1/+1
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265044
| * | Updated dependenciesSimon J. Gerraty2013-03-171-2/+1
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248406
| * | Sync with HEAD.David E. O'Brien2013-02-081-1/+2
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246555
| * | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | 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
* | | NO_MAN= has been deprecated in favor of MAN= for some time, go aheadWarner Losh2014-04-131-1/+1
| |/ |/| | | | | | | | | | | | | | | and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit. Notes: svn path=/head/; revision=264400
* | Add compiler support for the ARM EABI.Andrew Turner2013-01-171-1/+2
|/ | | | | | | | | ARM EABI support is disabled by default and can be enabled by setting WITH_ARM_EABI when building, however only the kernel-toolchain target will work with this flag until the rest of the support is added. Notes: svn path=/head/; revision=245539
* Add src.conf option WITH_SHARED_TOOLCHAIN to enable building theKonstantin Belousov2012-04-291-1/+4
| | | | | | | | | | | toolchain binaries as dynamically linked. Option is disabled by default. Reviewed by: ru (previous version) MFC after: 2 weeks Notes: svn path=/head/; revision=234782
* Update bmake glue to build GCC 4.2.Alexander Kabaev2007-05-191-19/+12
| | | | | | | | | | | | | | | | | | | | | | | | 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
* NOSHARED -> NO_SHAREDRuslan Ermilov2004-12-211-1/+1
| | | | Notes: svn path=/head/; revision=139112
* Start the dreaded NOFOO -> NO_FOO conversion.Ruslan Ermilov2004-12-211-1/+1
| | | | | | | OK'ed by: core Notes: svn path=/head/; revision=139103
* For variables that are only checked with defined(), don't provideRuslan Ermilov2004-10-241-1/+1
| | | | | | | any fake value. Notes: svn path=/head/; revision=136910
* Bmake glue for GCC 3.4.2-prerelease.Alexander Kabaev2004-07-281-5/+4
| | | | Notes: svn path=/head/; revision=132751
* Fixed style of DPADD and LDADD assignments as per style.Makefile(5).Ruslan Ermilov2004-02-051-2/+2
| | | | Notes: svn path=/head/; revision=125503
* Update bmake bits to build GCC 3.3.1-prerelease.Alexander Kabaev2003-07-111-1/+1
| | | | Notes: svn path=/head/; revision=117429
* Restore some of the implementation from the Bmake gcc 2.95 bits.David E. O'Brien2002-05-131-10/+11
| | | | | | | | In the end, I can do things more like the previous Bmake bits than was apparent in the middle of the gcc31 WIP. Notes: svn path=/head/; revision=96488
* Tidy up the cleanfiles.David E. O'Brien2002-05-121-1/+1
| | | | Notes: svn path=/head/; revision=96448
* Bmake bits for Gcc 3.1.David E. O'Brien2002-05-101-9/+11
|\ | | | | | | | | | | | | 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-9/+10
| | | | | | | | Notes: svn path=/cvs2svn/branches/WIP_GCC31/; revision=94008
| * MFC: tidy up YACCing.David E. O'Brien2002-04-041-5/+4
| | | | | | | | Notes: svn path=/cvs2svn/branches/WIP_GCC31/; revision=93808
| * Working changes for GCC 3.0.2.David E. O'Brien2001-12-181-0/+43
| | | | | | | | | We now have to use the GCC stdarg.h varargs.h. We simply have no choice as it has an internal representation that we really cannot properly define in our headers. Notes: svn path=/cvs2svn/branches/WIP_GCC31/; revision=88097
* Change YACCing.David E. O'Brien2002-04-101-8/+5
| | | | | | | Submited by: ru Notes: svn path=/head/; revision=94328
* Fine! I cannot freaking take the bikeshed any more.David E. O'Brien2002-04-081-1/+1
| | | | | | | These binaries will be static, peroid. Notes: svn path=/head/; revision=94226
* Minor style tweak.David E. O'Brien2002-04-041-1/+1
| | | | Notes: svn path=/head/; revision=93806
* Make the sed line a little bit more clear (it will get messier later).David E. O'Brien2002-04-041-1/+2
| | | | Notes: svn path=/head/; revision=93744
* Set NOSHARED conditionally.David E. O'Brien2002-04-041-1/+1
| | | | Notes: svn path=/head/; revision=93742
* Clean up the YACCing. I don't know why we cannot leave the .y's as .y's.David E. O'Brien2002-04-041-4/+2
| | | | | | | | | So lets see if doing so causes anyone trouble. Also use make(1)'s assistance in using the right file. It knows the dependency, so lets just ask it. Notes: svn path=/head/; revision=93741
* Move c-decl.c out of the common libcc_int.a into the binary MakefilesDavid E. O'Brien2000-05-241-1/+2
| | | | | | | | | | | | | | | | | where it is used. c-decl has symbols that conflict with several of the cc1plus sources. GNU `ld' was changed in Dec 1999 to be more be compatable with the way that other linkers work (specifically in the Solaris linker). The 2.9.1 `ld', did the Wrong Thing in that if a library contained a common symbol that matched a definition of that symbol in another (already linked in object) it would also be linked in, even if there was no other reason to do so. This is wrong. The library should only be linked in if it contains non-common, non-weak symbols which are needed by previously linked in objects. Notes: svn path=/head/; revision=60884
* Merge cc_drv into cc_int. Merge more shared files into cc_int.David E. O'Brien2000-01-241-3/+2
| | | | Notes: svn path=/head/; revision=56552
* Simply cc_tools/Makefile by moving the parser generation to the respectiveDavid E. O'Brien2000-01-241-1/+18
| | | | | | | backends. Notes: svn path=/head/; revision=56521
* Minor cosmetic changes in an attempt to improve consistancy.David E. O'Brien1999-11-041-0/+1
| | | | Notes: svn path=/head/; revision=52861
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
| | | | Notes: svn path=/head/; revision=50472
* Purely cosmetic cleanups.David E. O'Brien1999-08-161-5/+3
| | | | | | | | | | | - 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
* Minimum set of changes to switch from Gcc 2.7.2 (in contrib/gcc) to Egcs 1.1.2David E. O'Brien1999-04-041-3/+7
| | | | | | | (in contrib/egcs) Notes: svn path=/head/; revision=45299
* NOSHARED takes a yes/YES no/NO value, not "true, false, hey mon!".Paul Traina1997-06-291-2/+2
| | | | | | | | | NOPIC is used to not generate a shared library, not NOSHARED. Make NOSHARED advisory where appropriate. Remove bogus NOSHARED (kbdio). Notes: svn path=/head/; revision=27040
* 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
* Remove the partial support for a shared -lcc_int, since it's been unusablePeter Wemm1996-09-211-2/+2
| | | | | | | for a fair while. cc1, cc1plus etc have been linked static for some time. Notes: svn path=/head/; revision=18441
* Man the lifeboats! Tie down the hatches! Red alert! Activate gcc-2.7.2.1!Peter Wemm1996-09-1910-20380/+5
| | | | | | | | | | | | | | | | | | (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
* Build cc1 nonshared. This actually results in it consuming 40K *less* diskDavid Greenman1995-10-011-1/+2
| | | | | | | space and improves compile times by a few percent. Notes: svn path=/head/; revision=11117
* Stop using gnumalloc.Poul-Henning Kamp1995-09-221-3/+3
| | | | Notes: svn path=/head/; revision=10953