Commit Graph

668 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
2008-10-25 14:12:59 +00:00
Ingo Weinhold
4e3fe558a1 No longer define __BEOS__ for target Haiku.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@28306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-23 21:47:38 +00:00
François Revol
752ce742c6 This should get binutils working for ARM for the adventuruous ones.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@26148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-27 23:04:41 +00:00
Ingo Weinhold
efa13a3a74 Updated patch and notes. Also added the optional package description and
the post install script.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@25312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-04 13:35:41 +00:00
Ingo Weinhold
0082490e35 Intermediate mini patch against OpenSSH 4.7p1 adding Haiku support. It
only adds a guard against the inclusion of <netinet/in_systm.h>, which
Haiku doesn't have ATM (we should probably just add it). Following the
instructions in my Notes file everything builds and the results run
somewhat. ssh has problems with a Sun server I tested against (all
OpenSSH servers worked fine, though), sftp is broken, and sshd refuses
to work without a "sshd" user for privilege separation. Well, I'm
working on it...


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-30 20:28:30 +00:00
Ingo Weinhold
bc5bbe5d0a * Patch against OpenSSL 0.9.8.g adding Haiku (x86) support. Surprisingly
all tests of the test suite just passed.
* Also added a file with a few notes.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-30 20:14:30 +00:00
Ingo Weinhold
b7bf3a1d16 Haiku patch for bison 2.3.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-28 17:09:27 +00:00
Ingo Weinhold
6835558076 Generated files.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-28 14:15:10 +00:00
Ingo Weinhold
7b6de8037d Ported to Haiku.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-28 14:14:44 +00:00
Ingo Weinhold
dc17bbe506 We do support undefined symbols now. The complete test suite passes.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-25 00:34:59 +00:00
Ingo Weinhold
090536a990 Ugh, I had created the reverse patch.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-25 00:32:28 +00:00
Ingo Weinhold
7ae62f25b6 * The diff for t/io/fs.t was missing for some reason. I probably removed
it accidentally when editing the patch. Anyway, this skips the
  stat::st_atime test, as BFS doesn't maintain it correctly.
* Cleaned up the Haiku hints script a little: Don't compile with
  debugging anymore, set the paths correctly (reordered, include
  /boot/common), and don't define __HAIKU__ anymore, as the native
  compiler does that anyway.

Only 3 tests of the test suite fail now -- 2 due to missing sockets
support, one due to a problem with exec*() or system(). Will have to
investigate this further.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-25 00:31:38 +00:00
Ingo Weinhold
f98311c1d4 Removing --no-undefined completely was a bit too enthusiastic. We still
want it when linking apps.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-24 04:52:35 +00:00
Ingo Weinhold
36bbacfebd Updated version string, preparing for the migration.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-23 22:47:35 +00:00
Ingo Weinhold
f76f237a93 Allow undefined symbols when linking.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24539 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-23 21:53:29 +00:00