Commit Graph

318 Commits

Author SHA1 Message Date
Jérôme Duval
5cceb123aa Merge commit '4.5.3' 2012-01-07 16:45:05 +01:00
Jérôme Duval
9507ae2782 import of gcc 4.5.3 (core and g++ only). 2012-01-07 16:44:13 +01:00
Jérôme Duval
d534b97c8b binutils: fix out of tree building with syslex regens
If you take a release tarball (which has pregenerated syslex and sysinfo files
	in it), apply some patches which touch syslex.l, and then build the result out
	of tree, it will fail.  This is because syslex.l uses sysinfo.h, but the
	sysinfo.y file wasn't updated and so it wasn't regenerated (the files are found
	in the $srcdir), and the build rule for syslex.c does not use -I$(srcdir) when
	it finds a local file.  Simple fix below.

	Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-01-06 21:29:10 +01:00
Jérôme Duval
371dda4618 Fix merge of binutils 2.22. Sorry for the noise. 2012-01-06 21:08:28 +01:00
Jérôme Duval
e80b1623ba Missing files for binutils 2.22 2012-01-06 20:25:50 +01:00
Jérôme Duval
192c9480a6 Fix the merge of binutils 2.22, sorry for the noise. 2012-01-06 20:21:47 +01:00
Jérôme Duval
1e198b669a Merge binutils 2.22 2012-01-06 00:20:08 +01:00
Jérôme Duval
54b66b3b47 import binutils 2.19 2012-01-06 00:11:05 +01:00
Jérôme Duval
6f0effcf54 import binutils 2.22 2012-01-05 22:46:40 +01:00
Jérôme Duval
4cc942491d import binutils 2.19 2012-01-05 22:33:17 +01:00
Jérôme Duval
30bb6f454f Get rid of svr4, it will be deprecated in 4.6 2012-01-02 22:11:40 +01:00
Matt Madia
18f073d8bf Bumped up the VERSION and made JAMVERSYM identical to it. 2011-12-22 21:55:54 +00:00
Matt Madia
9ceedecc39 Created new jam variable JAMJOBS, which is set by the -jx flag. 2011-12-22 21:54:22 +00:00
Matt Madia
ed5b974772 Automatic whitespace cleanup. No functional change. 2011-12-22 21:51:29 +00:00
Oliver Tappe
d6fd401aa3 Fix use of non-existent variable (GCCDATE instead of gccDate). 2011-12-15 11:41:15 +01:00
Fredrik Holmqvist
e310d205fb Add Haiku to list of elf-target so that is_elf is true.
This enables --enable-gold flag to be used (doesn't compile yet though).
The gold linker promises up to five times faster linking than ld, it is also possible to use link-time optimizations.
2011-12-03 10:14:13 +01:00
Oliver Tappe
68d377c247 Improve build-gcc2-optional-package.sh:
* automatically build the compiler if it doesn't exist yet
* protect against unneeded cruft breaking the build
2011-11-23 16:49:35 +00:00
Oliver Tappe
5abab92edf Bump legacy compiler version. 2011-11-22 18:59:35 +01:00
Oliver Tappe
073cb9127c Define __STDC_ISO_10646__ in our gccs.
* define __STDC_ISO_10646__ to '201103' in order to indicate that
  Haiku's wchar_t supports the Universal Character Set (UCS) defined
  by the ISO 10646 standard published in March 2011.
2011-11-19 16:45:49 +01:00
Matt Madia
ef37057d92 Prevent fixing the includes.
Forcibly prevent fixinclude from executing. This prevents the spawning of a
shell process, which would be abandoned due to fixinc crashing.

Submitted By: BLFS Book <blfs-book@linuxfromscratch.org>
Date: 2003-10-05
Initial Package Version: 2.95.3
Origin: BLFS Book
http://www.linuxfromscratch.org/blfs/view/5.1/general/gcc2.html
2011-11-16 18:01:03 -05:00
Oliver Tappe
41126db379 Add more generated files of legacy gcc to .gitignore 2011-11-12 21:08:15 +01:00
Oliver Tappe
7f3fb010ff Add autom4te.cache to .gitignore 2011-11-12 20:32:54 +01:00
Oliver Tappe
af2683a443 Drop another .info target that triggers invocation of makeinfo. 2011-11-12 20:08:56 +01:00
Oliver Tappe
5a389649c8 Drop obsolete documentation on building as cross compiler for BeOS 2011-11-12 19:15:07 +01:00
Oliver Tappe
17e8ac5852 Cleanup gcc4 buildtools a bit:
* replace gmp.info-? in gcc/gmp/doc by gmp.info, since the latter
  is the makeinfo target that will otherwise have to be generated
  each time gcc4 is built
* add autom4te.cache to svn:ignore

git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@43010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-30 19:29:14 +00:00
Oliver Tappe
32fb726909 Trying to fix #8063 (failure to build gcc2 when updating info files):
* remove all *.info targets so the gcc2 build system doesn't
  try to update them, as that doesn't always work because of
  apparent incompatibilities with newer makeinfo versions


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@42999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-30 14:10:55 +00:00
Scott McCreary
94b8b639d8 Update gcc4 install instructions to reflect change to 4.5
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@42529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-01 01:39:39 +00:00
Jérôme Duval
44943b14a0 Merging GCC 4.5.3 in trunk. Patch in #6840 is required to build Haiku.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@42247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-19 17:36:26 +00:00
Jérôme Duval
3c24538123 Adding inline mpc directory so the MPC library is built as part of GCC 4.5
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@42242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-19 13:22:38 +00:00
Fredrik Holmqvist
96ef6353b0 Make the ..patience.. count comparison postinc so it shows one at the start and use every 10k target instead.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@41296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-01 12:18:17 +00:00
Fredrik Holmqvist
7982f87b1e Only write "...patience..." every 5000th target instead of 1000th.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@41295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-01 12:09:05 +00:00
Fredrik Holmqvist
7a4d04f795 Disabled the "..skipped x for lack of y..." message as it is not very useful information and hides the interesting info in noise (why it failed).
It should probably be a command line option as it might be interesting in some cases.
Also added a "Build Failure" at the end if there were failed targets.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@41294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-01 11:34:52 +00:00
Oliver Tappe
e62f027fec circumvent strange problems during build of gprof ('no objective-c compiler found') caused by our current make version (3.82)
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@40648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 22:31:44 +00:00
Jérôme Duval
a348441958 changes to match what got used by upstream in 4.5
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@40618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-22 18:20:36 +00:00
Ingo Weinhold
8116a5d9ff Merged gcc4-weak-symbols branch.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@39570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-22 13:03:49 +00:00
Ingo Weinhold
b4a0832035 Strip the executables of debug info.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@39429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-14 14:58:28 +00:00
Ingo Weinhold
1e30b3120c Fixed creating the "current" symlink. Spotted by Stippi.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@39409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-12 10:02:58 +00:00
Ingo Weinhold
5c3390ac15 * Add an include/g++ symlink in the package. Apparently it isn't created by
"make install" anymore.
* Add the "current" symlink in the ".../tools" directory.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@39406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-11 22:47:18 +00:00
Ingo Weinhold
d436eaa1b8 Script to build a gcc 4 optional package from the sources.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@39405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-11 21:33:22 +00:00
Ingo Weinhold
4813397466 Updated instructions.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@39404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-11 21:32:31 +00:00
Fredrik Holmqvist
d1a8102665 Enable O3 optimization for Jam.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@39056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 07:31:08 +00:00
François Revol
5e6384156e I now get Archive actions too long (max 40960)! on OSX, so enlarge it a little.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@38590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-09-08 22:15:37 +00:00
Oliver Tappe
7eb32704ba * added autom4te.cache to svn:ignore, which seems to have been created due to the
updated config.guess and/or config.sub


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@38453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-30 16:14:19 +00:00
Oliver Tappe
b4eb6056d7 Part of #3298:
* applied patch by VinDuv that allows to build the legacy buildtools on Mac OS X
  - thanks!


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@38452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-30 16:07:21 +00:00
Oliver Tappe
3019b27ced Part of #3298:
* applied (slightly changed) patch by VinDuv that updates config.guess and 
  config.sub in order to be able to build the legacy buildtools on Mac OS X
  - thanks!


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@38451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-30 16:06:12 +00:00
Oliver Tappe
3f8e71737b Fix #5971:
* bump version of legacy compiler to match the expectations in our configure 
  script


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@38383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-27 00:05:59 +00:00
Axel Dörfler
d0b6f8e193 * The script should now build working gcc2 packages.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@38375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-26 14:10:40 +00:00
Axel Dörfler
708c82b146 * Forgot to create the "current" symlink (and add it to the archive - not yet
tested).
* Use -n for links to directories in case the target already exists.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@38353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-25 14:42:55 +00:00
Axel Dörfler
b67ffd4be8 * Updated install help text with how to build the binutils documentation.
* Added a work-in-progress script to automate building a GCC2 package.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@38351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-25 13:11:30 +00:00
Axel Dörfler
3a923d4177 * Enable c9x for C++ as well to enable the standard way for variadic macros
(this has no other side effect).


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@38236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-18 14:41:53 +00:00