232 Commits

Author SHA1 Message Date
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
Michael Lotz
8c7e3ca14b Attempt at fixing the cross-compiler config. Some cleanup in the default includes as well.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29048 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29048
2009-01-26 20:53:59 +00:00
Michael Lotz
0bf091a9aa Don't override the SYSTEM_HEADER_DIR generally but only for native builds.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29045 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29045
2009-01-26 07:28:33 +00:00
Michael Lotz
d9a3c7bdde That was only for native compilation actually. Should un-break cross-compiler creation.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29044 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29044
2009-01-26 06:53:18 +00:00
Michael Lotz
c171ec6b9c This file seems to be missing. It can't be generated on some platforms.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29043 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29043
2009-01-26 06:43:27 +00:00
Michael Lotz
99d8158635 Adding inline mpfr directory so the MPFR library is built as part of GCC 4.3.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29042 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29042
2009-01-26 05:56:19 +00:00
Michael Lotz
dae34d9ee2 Adding inline gmp directory so the GMP library is built as part of GCC 4.3.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29041 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29041
2009-01-26 05:55:46 +00:00
Michael Lotz
cf01f26680 Adding arm and ppc config files previously missed.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29036 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29036
2009-01-26 05:29:57 +00:00
Michael Lotz
9d51e40ad3 Applying Haiku compatibility.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29034 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29034
2009-01-26 05:09:46 +00:00
Michael Lotz
a84f174425 Bring GCC 4.3.3 to trunk.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29033 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29033
2009-01-26 05:03:14 +00:00
Michael Lotz
c5e4f0dd64 Removing previous GCC4 to have a clean base.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29032 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29032
2009-01-26 05:02:39 +00:00
Michael Lotz
4947731f7b Forgot this in Haiku patch as well.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29027 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29027
2009-01-25 22:15:19 +00:00
Michael Lotz
a576cda8cd Missed those two in last commit.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29026 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29026
2009-01-25 21:46:04 +00:00
Michael Lotz
da7d5efeb4 Applying Haiku support.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29025 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29025
2009-01-25 21:45:27 +00:00
Michael Lotz
385576a748 Adding binutils 2.19 to trunk.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29024 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29024
2009-01-25 21:40:16 +00:00
Michael Lotz
c3bc604047 Making room for binutils 2.19.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29023 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev29023
2009-01-25 21:39:30 +00:00
Ithamar R. Adema
0751d0f13b Forgot that these generated files were in svn too ;)
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@28691 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev28691
2008-11-19 01:41:30 +00:00
Ithamar R. Adema
23577e077a Fix makefile so binutils will fully build for ARM architecture.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@28690 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev28690
2008-11-19 01:04:30 +00:00
François Revol
46a8b69b1f Add PEF as extra BFD target, in case someone really feels like writing a BeBox bootloader...
cf. http://www.bebox.nu/os.php?s=os/linux/belinux/status
http://mail-index.netbsd.org/port-bebox/2000/02/03/0000.html


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@28622 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev28622
2008-11-12 02:14:08 +00:00
François Revol
b5aa07ca28 Add xcoff-pmac to the extra bfs formats, seems it's the one needed for old OF...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@28621 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev28621
2008-11-12 00:19:39 +00:00
François Revol
f41d71ffb2 Add some more BFD formats for ppc, copied from the BSD target, most notably coff support to allow creating loader for OpenFirmware < 3.0.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@28609 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev28609
2008-11-11 19:05:01 +00:00
Ingo Weinhold
b3ad9db729 Bumped version.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@28325 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev28325
2008-10-25 14:14:42 +00:00
Ingo Weinhold
86ef67c748 Adjusted default include paths:
* Use "3rdparty" instead of "gnu".
* Added "bsd".
* Added "/boot/common/include".


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@28324 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev28324
2008-10-25 14:12:59 +00:00