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
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
btrev32475
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
btrev32237
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
btrev31443
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
btrev31308
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
btrev31258
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
btrev31179
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
btrev31054
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
btrev30931
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
btrev30652
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
btrev30580
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
btrev30536
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
btrev30534
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
btrev30146
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
btrev30120
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
btrev30119
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
btrev30059
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
btrev29490
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
btrev29489
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
btrev29297
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
btrev29144
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
btrev29143
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
btrev29141
2009-02-06 22:05:19 +00:00
Michael Lotz
db596da671
Remove the extra /posix from the NATIVE_SYSTEM_HEADER_DIR since we override the limits test adding it again. Should fix native GCC4 compilation.
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29081 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29081
2009-01-28 21:23:05 +00:00
Michael Lotz
33c77afbe9
Updating config.guess and config.sub so the inline GMP and MPFR libs can be built under Haiku.
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29080 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29080
2009-01-28 20:15:42 +00:00
Michael Lotz
04f456db0e
Broke finding limits.h for the cross-compiler by removing that. For the native
...
compile it's enough the set the NATIVE_SYSTEM_HEADER_DIR, but for cross
compiling this is needed. Sorry for that, should've be more cautious when
updating.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29078 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29078
2009-01-28 17:35:08 +00:00
Michael Lotz
850146e02b
Move t-haiku where it should be. It's shared for all platforms of course.
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29077 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29077
2009-01-28 17:31:12 +00:00
Michael Lotz
71707d824a
Put the changes to the generated build files into their .ac/.am source.
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29075 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29075
2009-01-28 16:09:58 +00:00
Michael Lotz
87cbf3a69a
This should fix running the get_patches script. I don't really know how this could previously have worked. I can just guess that on the platform it worked, the MPFR lib wasn't built because it was preinstalled.
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29073 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29073
2009-01-28 13:05:13 +00:00
Michael Lotz
36de11649f
Don't blindly assume -lm presence. Add a check for the host and remove the -lm
...
on Haiku so building should work natively.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29071 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29071
2009-01-28 03:07:50 +00:00
Michael Lotz
3fce03fd27
Remove the __BEOS__ builtin define. Also add an uppercase __ARM__ for the ARM config.
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29068 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29068
2009-01-28 01:49:45 +00:00
Michael Lotz
ff5be04c3b
Add some more default include dirs for native compiler.
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29067 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29067
2009-01-28 01:48:49 +00:00
Michael Lotz
b0f40dcb15
These apply to Haiku as well. Fixes binutils build with current GCC2 package on Haiku.
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29062 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29062
2009-01-27 19:31:12 +00:00
Michael Lotz
6245f2f512
Adding autoconf generated haiku config. Taken from the patch produced by Aljen in ticket #2982 .
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29059 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29059
2009-01-27 00:40:00 +00:00
Michael Lotz
78b95a8ab5
Add missing dlopen results to libstdc++ configure. Some combining.
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29058 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29058
2009-01-27 00:16:28 +00:00
Michael Lotz
3f95bbcc30
Adding back m68k and ppc support. Adding stub arm support as well.
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29056 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29056
2009-01-26 23:55:25 +00:00
Michael Lotz
ac2b422ece
Fix some missing definitions that apply to Haiku.
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29054 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29054
2009-01-26 23:27:38 +00:00
Michael Lotz
53580dbb23
Sorry, seriously not enough sleep.
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29052 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29052
2009-01-26 22:57:59 +00:00
Michael Lotz
53e303ec61
Oops.
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29050 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29050
2009-01-26 22:51:15 +00:00
Michael Lotz
3a5adbe651
Specify add_sysroot for cross compiler search dirs. Add fixed include dir.
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29049 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29049
2009-01-26 22:47:03 +00:00