Commit Graph

671 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
2009-08-17 18:21:12 +00:00
Oliver Tappe
a1532d3621 * added workaround to gcc4 configuration that makes the comparison
of stage2 and stage3 compilers work on haiku (using objdump instead
  of cmp, as suggested by Michael)


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@32475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 18:20:12 +00:00
François Revol
09a4a7d36c [ARM] [GSoC] François Revol + Johannes Wischert:
- add missing bits needed to use EABI by default (which should be == AAPCS == BPABI if I understood it right),
	- include t-bpabi and bpabi.h,
	- added an arm/t-haiku and arm/haiku.h to correct back some stuff after them as is done for linux,
- add multilib variants for softfloat (for xscale) and softfp (AAPCS),
- undo the LIBGCC_SPEC override for arm, it might have been the cause of multilib not working, not sure,
- make armv6 default target.
This allows building for both overo and verdex boards with some mods, though it emits calls to exception unwinding stuff that requires some more symbols (like abort), and should probably be fixed some other way.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@32237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-11 02:07:15 +00:00
Oliver Tappe
03890535ff * merged 32bit-wchar_t branches of buildtools and haiku back into
the respective trunk

git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@31443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-07 10:30:09 +00:00
Oliver Tappe
566b075d92 * specify type for $$ in order to make newer bison versions happy,
such that gcc2 can be compiled on haiku


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@31308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-29 09:08:34 +00:00
Axel Dörfler
04bfbdfd8f * Applied patch by Christian: build fix for Cygwin.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@31258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-26 16:26:50 +00:00
Oliver Tappe
0df6ed3163 * no longer complain about %z being an unknown conversion type - our printf()
is much newer than gcc-2.95.3 and does support it


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@31179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-22 18:18:53 +00:00
Oliver Tappe
3126d774bf * applied fix for optimization of wchar_t constants which
is mentioned in the ICU configuration for BeOS,
  since otherwise we could not use optimization for
  ICU at all.
  [see http://gcc.gnu.org/ml/gcc-patches/2000-09/msg00454.html]



git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@31054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-14 21:07:41 +00:00
François Revol
40ef888cfd Remove USE_GAS as for other platforms since it's deprecated, as suggested by umccullough, please shout if it breaks anything.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@30931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-30 19:27:42 +00:00
Jérôme Duval
093b4f688a Applied patch for arm haiku target from Johannes Wischert (bug #3633)
The cross tools build still needs the arm specific headers in Haiku to complete (bug #3763)


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@30652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-06 20:34:18 +00:00
Jonas Sundström
257de42932 Tweaks. Removing superflous config. Cleaner and closer to defaults, hopefully.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@30580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 18:20:14 +00:00
Jonas Sundström
fe3d3406e8 The define __BEOS__ is not relevant to Haiku.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@30536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-01 15:23:48 +00:00
Jonas Sundström
4df3ecf7d0 Adding mipsel-unknown-haiku. Work in progress. Correctness uncertain. Especially gcc/gcc/config/mips/haiku.h. Inspired by the other Haiku targets x86/ppc/arm.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@30534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-01 14:42:51 +00:00
Ingo Weinhold
d5dc8c3804 Removed yasm from the buildtools module. If we don't need Haiku-specific
modifications, there's no point in it being in the repository at all. Besides,
version 0.8.0 is out already.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@30146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-13 10:54:38 +00:00
David McPaul
294f58609a add newline to end of file
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@30120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-11 14:00:39 +00:00
David McPaul
9da4e0a3c5 scripts to build yasm on beos and haiku
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@30119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-11 13:56:16 +00:00
David McPaul
9c12fb3048 Add yasm 0.7.2 to build tools
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@30059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-09 11:16:39 +00:00
Michael Lotz
5d242e9e05 Add the -no-undefined flag only for non-shared objects as before, i.e. shared
libraries are allowed to use undefined symbols.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-13 15:42:32 +00:00
Michael Lotz
7219b3c58f * Change gnu include path to 3rdparty and also add /boot/common/include to the
include list as in r28324. I really thought I updated this based on this patch.
* Added /boot/home/config/include to the include list as well, not sure why this
  wasn't present before. If there's a specific reason against it please tell.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-13 15:37:22 +00:00
Michael Lotz
beaf9299fc * Amend link and startfile specs for the -shared option.
* Remove the part of the link specs that automatically names the output after
  the last source file. Therefore we'll produce a.out for now. Sadly the %b
  variable does also evaluate to libraries in GCC4 which makes it unusable for
  this case. A "gcc file.cpp -lstdc++" would for example produce an output
  named libstdc++...


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-23 20:51:17 +00:00
Michael Lotz
21658f885f Add missing default CPU setting for m68k.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-06 23:46:58 +00:00
Michael Lotz
0e5d48202a Make the arm target valid as well.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29143 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-06 23:10:34 +00:00
Michael Lotz
2a214e38d2 Add missing support for ppc and m68k targets.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-02-06 22:05:19 +00:00