293 Commits

Author SHA1 Message Date
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
btrev42247
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
btrev42242
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
btrev41296
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
btrev41295
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
btrev41294
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
btrev40648
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
btrev40618
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
btrev39570
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
btrev39429
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
btrev39409
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
btrev39406
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
btrev39405
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
btrev39404
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
btrev39056
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
btrev38590
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
btrev38453
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
btrev38452
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
btrev38451
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
btrev38383
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
btrev38375
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
btrev38353
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
btrev38351
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
btrev38236
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
btrev37779
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
btrev37775
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
btrev37574
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
btrev37521
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
btrev37482
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
btrev37479
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
btrev37475
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
btrev37474
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
btrev37471
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
btrev37382
2010-07-03 23:44:21 +00:00
Jérôme Duval
72633b4c27 Don't define ssize_t for Haiku in GCC4, the next commit will define it in Haiku headers (see also #5719).
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37379 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev37379
2010-07-03 16:37:44 +00:00
Jérôme Duval
b58ddff026 * modified gcc Makefile.in to copy gmp-impl.h and longlong.h headers to build gmp directory (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44455 ).
* merged mpfr 3.0.0 and gmp 5.0.1 in buildtools trunk


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37378 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev37378
2010-07-03 15:21:01 +00:00
Jérôme Duval
5904152eeb Merging GCC 4.4.4 in trunk.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37371 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev37371
2010-07-03 11:11:20 +00:00
Ingo Weinhold
3df1e72ed0 Patch by Nathan Mentley: Added initial support for Haiku x86_64.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@36793 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev36793
2010-05-11 19:33:44 +00:00
Oliver Tappe
113b93b3d8 * updated build instructions for gcc4
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@36422 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev36422
2010-04-22 19:08:08 +00:00
Oliver Tappe
ff7b7cd5e5 * added new file with compilation instructions for gcc2 on haiku
* removed installation instructions for BeOS



git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@36377 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev36377
2010-04-20 16:29:16 +00:00
Oliver Tappe
1e7dbaf732 * update gcc2 version date to 100420 (today)
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@36376 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev36376
2010-04-20 16:26:47 +00:00
Ingo Weinhold
5998536b29 The "cpp" header directory should only be included in C++ mode. Should fix
#5630 once the gcc optional packages have been rebuilt.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@36354 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev36354
2010-04-19 15:35:39 +00:00
Matt Madia
1ae0d67acc setting mime-type for html files
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@36119 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev36119
2010-04-10 19:33:14 +00:00
Matt Madia
f96860a35e Changes the setting of M4 to =m4. Allows Python on linux to successfully
compile the buildtools. Fixes #5561


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@35831 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev35831
2010-03-12 22:06:19 +00:00
Ingo Weinhold
a676a7f33a Don't use unknown strings as fprintf() format.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@35719 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev35719
2010-03-02 13:30:31 +00:00
François Revol
89726009be Patch by Johannes Wischert: Force a check for the need for long long for arm target. This should fix building the crosstools for arm on 32bit hosts.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@34916 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev34916
2010-01-06 13:37:08 +00:00
François Revol
1c3ec1efb7 Fix for #4885 (jam crashing in OSX 64bit). The prototype for getcwd() was missing, so defaulting to int as return type, cutting the address to 32bit. We probably want to include unistd.h for other OSes too...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@34515 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev34515
2009-12-05 21:01:40 +00:00
Stephan Aßmus
15d161b97e Patch by scottmc:
* On Haiku, the jam install folder should be /boot/common.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@32875 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev32875
2009-08-31 20:39:54 +00:00
Oliver Tappe
bf5ea232b5 * added new readme that describes the current way of building gcc4
on haiku


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@32476 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev32476
2009-08-17 18:21:12 +00:00