aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cc
Commit message (Collapse)AuthorAgeFilesLines
...
* Whitespace nit.Ruslan Ermilov2004-08-031-1/+1
| | | | | | | OK'ed by: kan Notes: svn path=/head/; revision=133057
* Fix a copy and paste error. Do not include errors.c in libgcc_int.a,Alexander Kabaev2004-07-301-1/+1
| | | | | | | | | it is only used by build tools. Submitted by: grehan Notes: svn path=/head/; revision=132887
* Bmake glue for GCC 3.4.2-prerelease.Alexander Kabaev2004-07-2817-652/+679
| | | | Notes: svn path=/head/; revision=132751
* Revise previous commit - I managed to mess up a 1-line change and brokePeter Wemm2004-06-111-1/+1
| | | | | | | amd64 world. The csu code evalues this Makefile with a different origin. Notes: svn path=/head/; revision=130325
* The gcc/config/i386/freebsd64.h file neglects to override the defaultPeter Wemm2004-06-102-0/+10
| | | | | | | | | | | | | | | | (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. Notes: svn path=/head/; revision=130324
* Remove componenst which are not part of GCC 3.3 and which are not likelyAlexander Kabaev2004-05-294-115/+0
| | | | | | | to get used again in the future. Notes: svn path=/head/; revision=129828
* Rremoved bogus -static from CFLAGS. Makeworld will add -static in theBruce Evans2004-02-261-1/+1
| | | | | | | | correct place if needed and possible. Self-hosted builds can just use the system default. Notes: svn path=/head/; revision=126268
* Backed out the residue of rev.1.13 (bogus addition of -static to CFLAGS).Bruce Evans2004-02-261-2/+5
| | | | | | | | | | | 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). Notes: svn path=/head/; revision=126266
* Remove getopt*.c, we already have compatible getopt_long() in libcAndrey A. Chernov2004-02-171-1/+1
| | | | | | | (cc toolchain use it rarely, so no surprizes should occurse) Notes: svn path=/head/; revision=125919
* Fixed style of DPADD and LDADD assignments as per style.Makefile(5).Ruslan Ermilov2004-02-0511-22/+22
| | | | Notes: svn path=/head/; revision=125503
* Do not treat make variables as Perl variables.Alexander Kabaev2004-01-261-4/+4
| | | | Notes: svn path=/head/; revision=125040
* Fixed "make clean".Ruslan Ermilov2004-01-151-0/+1
| | | | Notes: svn path=/head/; revision=124547
* Last revision also added duplicate SRCS. Fixed this so thatRuslan Ermilov2004-01-121-1/+1
| | | | | | | | | the resulting .a library has only unique .o files. Noticed by: bde Notes: svn path=/head/; revision=124451
* Don't put objects in SRCS -- this creates all sort of havoc likeRuslan Ermilov2004-01-121-4/+4
| | | | | | | | causing objects to be built during "make depend", missed sources in .depend, etc. Notes: svn path=/head/; revision=124443
* Removed duplicate SRCS.Ruslan Ermilov2004-01-122-6/+6
| | | | Notes: svn path=/head/; revision=124417
* Ensure that generated headers are here before we build .dependRuslan Ermilov2004-01-111-7/+1
| | | | | | | | and object files in a less hackish way compatible with further planned changes to bsd.dep.mk. Notes: svn path=/head/; revision=124400
* Stop compiling files which are not part of GCC 3.3.x.Alexander Kabaev2004-01-053-3/+3
| | | | Notes: svn path=/head/; revision=124150
* Use __cxa_atexit, rather than atexit, to register C++ destructors for localAlexander Kabaev2003-12-191-1/+1
| | | | | | | | statics and global objects. This is essential for fully standards-compliant handling of destructors, and requires __cxa_atexit in libc. Notes: svn path=/head/; revision=123678
* Add two additional headers for amd64 and x86.Alexander Kabaev2003-12-091-1/+1
| | | | | | | Reported by: Ollivier Robert Notes: svn path=/head/; revision=123359
* If ${GCC_CPU}-c.c exists, we need to use it.David E. O'Brien2003-07-311-0/+3
| | | | Notes: svn path=/head/; revision=118273
* Including dynamically generated osreldate.h wasn't such a goodAlexander Kabaev2003-07-131-1/+3
| | | | | | | | | | | idea after all. Fix cross-builds and ia64 builds. gnu/lib/csu/Makefile is modified to pre-include osreldate.h and gnu/usr.bin/cc/cc_tools/auto-host.h will avoid including sys/param.h if __FreeBSD_version is already defined. Notes: svn path=/head/; revision=117496
* Include osreldate.h instead of sys/param.h to get __FreeBSD_versionAlexander Kabaev2003-07-111-1/+1
| | | | | | | definition. This fixes buildworld breakage on ia64. Notes: svn path=/head/; revision=117453
* Update bmake bits to build GCC 3.3.1-prerelease.Alexander Kabaev2003-07-117-79/+254
| | | | Notes: svn path=/head/; revision=117429
* Update for GCC 3.3.1-pre.Alexander Kabaev2003-07-112-46/+90
| | | | Notes: svn path=/head/; revision=117428
* Fixed build.Ruslan Ermilov2003-07-011-0/+1
| | | | | | | Noticed by: bde Notes: svn path=/head/; revision=117118
* Add missing quote after cut/paste error in last commit. :-(Peter Wemm2003-06-261-1/+1
| | | | Notes: svn path=/head/; revision=116891
* Configure gcc in biarch mode for amd64 so that the -m32 flag is enabledPeter Wemm2003-06-261-2/+1
| | | | | | | | | for things like boot blocks etc. Reviewed by: kan Notes: svn path=/head/; revision=116859
* When building a shared library, link it against libgcc_pic.a instead of thePeter Wemm2003-06-131-1/+2
| | | | | | | | | | | | | | non-PIC libgcc.a. Linking non-pic code into a shared library is not a good thing. It happens to break amd64 at compile time, and the ppc folks want it too. The problem is mainly with C++ code, unwind-dw2.c in particular. Most of the other functions in libgcc.a are self contained so most of the time it isn't a problem. The dwarf2 unwinder is not safe though since it does make global variable references. Reviewed by: kan Notes: svn path=/head/; revision=116320
* UseJun Kuriyama2003-06-062-2/+2
| | | | | | | | | | | | cat ${.ALLSRC} > ${.TARGET} rather than ln -sf ${.ALLSRC} ${.TARGET} not to depends on absolute-path of symbolic links. Commented by: marcel, obrien, bde Notes: svn path=/head/; revision=115898
* Add a temporary indirect patch for gcc when targeting amd64. This is toPeter Wemm2003-05-242-2/+67
| | | | | | | | | | | | | | | | | | | | | | | | | give the cvs tree a surviving a 'make world'. One of the two diff chunks is already in gcc-3.3, the other has been committed to gcc's HEAD and is in the pipeline for gcc-3.3.1 (but has not been committed yet). The first chunk simplifies an excessively complex assembler statement when generating switch jump tables. The use of '.' causes as(1) to choke on big files. Use a simpler form instead. This is only an issue for TARGET_64BIT mode. The second chunk fixes an internal compiler error when compiling libc/stdio/vfprinf.c. While this is supposedly only an issue for 64 bit mode, it does touch the 32 bit i386 code paths, so this patch is only applied for TARGET_ARCH == amd64 to keep the risks down. Breaking gcc at the 11th hour would suck. This will be removed when it is time to import gcc-3.3. Discussed with: kan Approved by: re (jhb) Notes: svn path=/head/; revision=115292
* Lock GCC w/o -m32 into 64-bit mode.David E. O'Brien2003-05-011-0/+4
| | | | Notes: svn path=/head/; revision=114425
* We're changing the platform name from x86[_-]86 to amd64.David E. O'Brien2003-04-264-7/+7
| | | | Notes: svn path=/head/; revision=114083
* Mark bits that do not require an object directory as such.Ruslan Ermilov2003-04-011-0/+2
| | | | Notes: svn path=/head/; revision=112940
* Install the gcov(1) manpage; kernbb(8) references it.Ruslan Ermilov2003-02-241-1/+0
| | | | Notes: svn path=/head/; revision=111451
* Gperf is usable again.David E. O'Brien2002-12-041-2/+6
| | | | Notes: svn path=/head/; revision=107614
* Remove our custom mixed ELF/a.out support. This means the base compilerDavid E. O'Brien2002-11-261-7/+1
| | | | | | | | | | | now only produce ELF objects. It also makes us closer to stock GCC, and simplifies the set of changes we still need from stock GCC on every import. Applauded by: peter Approved by: re Notes: svn path=/head/; revision=107286
* Bootstrapping aid for 4.0-RELEASE.Ruslan Ermilov2002-11-131-0/+3
| | | | Notes: svn path=/head/; revision=106848
* Better emulate the FSF build for Sparc64.David E. O'Brien2002-11-061-0/+1
| | | | Notes: svn path=/head/; revision=106488
* We HAVE_STPCPY now.David E. O'Brien2002-10-201-1/+1
| | | | Notes: svn path=/head/; revision=105502
* Add multilib_options variable definition.Alexander Kabaev2002-10-101-0/+1
| | | | | | | Approved by: obrien Notes: svn path=/head/; revision=104770
* Initiate deorbit burn for the i386-only a.out related support. Moves arePeter Wemm2002-09-172-5/+0
| | | | | | | | | | | | | | | | | | under way to move the remnants of the a.out toolchain to ports. As the comment in src/Makefile said, this stuff is deprecated and one should not expect this to remain beyond 4.0-REL. It has already lasted WAY beyond that. Notable exceptions: gcc - I have not touched the a.out generation stuff there. ldd/ldconfig - still have some code to interface with a.out rtld. old as/ld/etc - I have not removed these yet, pending their move to ports. some includes - necessary for ldd/ldconfig for now. Tested on: i386 (extensively), alpha Notes: svn path=/head/; revision=103436
* We're going to have to use a TARGET_ARCH of "x86_64" rather than "x86-64"David E. O'Brien2002-09-124-6/+7
| | | | | | | to make building GCC happy. Notes: svn path=/head/; revision=103257
* Allow one to profile FORTRAN77 programs.David E. O'Brien2002-06-092-1/+2
| | | | Notes: svn path=/head/; revision=98056
* Restore revision 1.15 (use profiled C++ libs) which wasn't on the WIP_GCC31David E. O'Brien2002-06-081-1/+3
| | | | | | | branch and thus was lost in the shuffle on the move to Gcc 3.1. Notes: svn path=/head/; revision=98054
* Fix compiling FORTRAN77 programs.David E. O'Brien2002-06-081-0/+1
| | | | Notes: svn path=/head/; revision=98051
* Read specs from /usr/libdata/gcc/specs if it exists.David E. O'Brien2002-06-061-0/+1
| | | | Notes: svn path=/head/; revision=97913
* The best we can do about man pages for the moment.David E. O'Brien2002-06-053-3/+5
| | | | Notes: svn path=/head/; revision=97890
* Search the "backward" C++ compatibility include dir also.David E. O'Brien2002-06-051-0/+1
| | | | Notes: svn path=/head/; revision=97873
* We don't need bsd.dep.mk here.David E. O'Brien2002-06-051-1/+0
| | | | Notes: svn path=/head/; revision=97872
* Install the i386 MMX headers, and IA-64 intrinsics functions.David E. O'Brien2002-06-042-1/+17
| | | | | | | Requested by: peter Notes: svn path=/head/; revision=97831