Commit Graph

308 Commits

Author SHA1 Message Date
Oliver Tappe
87efb055fb Bump legacy compiler version.
Conflicts:
	legacy/gcc/gcc/version.c
2013-04-21 22:59:52 +02:00
Oliver Tappe
64e25a9475 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.
(cherry picked from commit 073cb9127c)
2013-04-21 22:58:49 +02:00
Matt Madia
fdc4d2f79b 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
(cherry picked from commit ef37057d92)
2013-04-21 22:53:36 +02:00
Oliver Tappe
1fea500c21 Add more generated files of legacy gcc to .gitignore
(cherry picked from commit 41126db379)
2013-04-21 22:53:34 +02:00
Oliver Tappe
c88591af88 Add autom4te.cache to .gitignore
(cherry picked from commit 7f3fb010ff)
2013-04-21 22:53:31 +02:00
Oliver Tappe
9f9e588ceb Drop another .info target that triggers invocation of makeinfo.(cherry picked from commit af2683a443) 2013-04-19 21:58:29 +02:00
Oliver Tappe
e925619d1f 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
(cherry picked from commit 32fb726909)
2013-04-19 21:58:21 +02:00
Ingo Weinhold
ba94fdf309 Pimp up the gcc 2 package building script
It does now build the package from the sources.
2011-07-17 17:02:44 +02:00
Ingo Weinhold
966d0c763a Bump version 2011-07-17 17:02:44 +02:00
Ingo Weinhold
a5f717a22d Add common include paths to standard search paths 2011-07-17 17:02:44 +02:00
Oliver Tappe
cb66866b95 * drop 'packages/contents' from base paths again (we are back to
using /boot/system, /boot/common and /boot/home/config
  as packagefs mount-points)

git-svn-id: file:///srv/svn/repos/haiku/buildtools/branches/package-management@40804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-17 17:02:44 +02:00
Oliver Tappe
419eb668e4 * add " (Haiku)" to version as indicator that this gcc has been
patched in a haiku-specific way


git-svn-id: file:///srv/svn/repos/haiku/buildtools/branches/package-management@40802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-17 17:02:44 +02:00
Oliver Tappe
a4a27e7bb8 * correct version (forgot to drop the 'haiku-' bit)
git-svn-id: file:///srv/svn/repos/haiku/buildtools/branches/package-management@40782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-17 17:02:44 +02:00
Oliver Tappe
47fe6891ee * fix a potential problem in gcc/gcc/configure which is triggered when configure is newer than configure.in
git-svn-id: file:///srv/svn/repos/haiku/buildtools/branches/package-management@40761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-17 17:02:43 +02:00
Oliver Tappe
fa620f65f0 * adjusted for package management
git-svn-id: file:///srv/svn/repos/haiku/buildtools/branches/package-management@40760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-17 17:02:43 +02:00
Oliver Tappe
e68b71f49e * bump version of gcc2
git-svn-id: file:///srv/svn/repos/haiku/buildtools/branches/package-management@40758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-17 17:02:43 +02:00
Oliver Tappe
8717d5e73a * adjust header paths to changes by package management
git-svn-id: file:///srv/svn/repos/haiku/buildtools/branches/package-management@40757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-17 17:02:43 +02: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
Oliver Tappe
215ca35bee * revert 37775, as the define has a wrong value and it's probably better to do
stuff like this somewhere in our libc headers.

git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-27 21:38:26 +00:00
Oliver Tappe
735af2d623 * added standard define __STDC_ISO_10646__ to all compiler configurations,
indicating that haiku uses ISO_10646 in wchar_t (in our case: UTF-32)


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-27 19:20:25 +00:00
Bruno G. Albuquerque
2b4fc44ef0 The strcpy() usage would overwrite its own buffer. The behaviour somehow
worked in Linux but it seems to have changed in Ubuntu 10.04 x64 and
compiling GCC 2 would not work on it.

Thanks to Shisui for the investigation and original patch and to Ingo who
noticed a simpler way to fix the problem.



git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 01:41:31 +00:00
Ingo Weinhold
b363ec1bd9 Patch by Nathan Mentley: Fixed multilib generation for x86-64.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37521 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-14 22:59:18 +00:00
Oliver Tappe
107d3d5cca * updated version for current build
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-12 18:29:57 +00:00
Oliver Tappe
1e5b315f7e * fix infinite loop when the utf-8 -> utf-32 converter encounters an invalid
utf-8 sequence/byte


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-12 15:58:03 +00:00
Oliver Tappe
5f114e19ea * fix build when building gcc2 with gcc2 (c89-syntax)
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-11 20:51:57 +00:00
Oliver Tappe
c4e9b38ec8 * fix wide character literals by implicitly converting from utf-8 (which
we assume as the input charset) to utf-32 (which is used by Haiku's
  wchars)


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-11 19:32:34 +00:00
Oliver Tappe
cb4b88a1cd * cleanup of installation hints (had this lying on my disk for a while).
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-11 16:13:49 +00:00
Jérôme Duval
8fa2cab40f * gmp-impl.h and longlong.h headers are needed at each stage of the mpfr build.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-03 23:44:21 +00:00