187 Commits

Author SHA1 Message Date
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
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
btrev28306
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
btrev26148
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
btrev25312
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
btrev24695
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
btrev24692
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
btrev24628
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
btrev24624
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
btrev24623
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
btrev24564
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
btrev24563
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
btrev24562
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
btrev24547
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
btrev24540
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
btrev24539
2008-03-23 21:53:29 +00:00
Ingo Weinhold
2eb365503c Patch for the texinfo 4.11 package, so that it compiles at least. Didn't
test how well it works.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24538 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24538
2008-03-23 21:00:25 +00:00
Ingo Weinhold
cfa5e64c0c Generated files.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24530 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24530
2008-03-23 01:18:42 +00:00
Ingo Weinhold
db0b7f077c * Define POSIX for Haiku.
* Remove superfluous BSD string function macros.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24529 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24529
2008-03-23 01:17:40 +00:00
Ingo Weinhold
f40fa15314 Fixed syntax error I introduced earlier.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24521 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24521
2008-03-22 02:24:28 +00:00
Ingo Weinhold
e5fca722e8 Manually updated the generated build system files.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24520 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24520
2008-03-22 02:17:10 +00:00
Ingo Weinhold
0205e9e9e6 Missing in the Haiku config.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24519 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24519
2008-03-22 02:16:24 +00:00
Ingo Weinhold
4ca3619adc Reverted r24511 and and r24508.
Why did I even consider running the current autotools against almost two
years old code? Of course it wouldn't work.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24518 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24518
2008-03-22 01:27:52 +00:00
Ingo Weinhold
82479c1475 Auto-generated files. Manually adjusted, since I don't trust the current
tools to deal with those ancient files correctly.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24515 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24515
2008-03-22 00:13:53 +00:00
Ingo Weinhold
58799d5d74 * Created a Haiku configuration by copying the BeOS configuration and
adjusting it where I figured it necessary.
* Disabled the --no-beos-fixes option for Haiku.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24513 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24513
2008-03-21 23:52:23 +00:00
Ingo Weinhold
eb680fdd74 Ugh, didn't notice that committing this change failed days ago. Wasn't a
problem, since only the copies of gcc headers in the haiku module are
used.

BeOS/Haiku requires sizeof(bool) to be 1.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24512 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24512
2008-03-21 23:40:50 +00:00
Ingo Weinhold
c063cadd81 Regenerated due to changed Makefile.am.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24511 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24511
2008-03-21 22:01:14 +00:00
Ingo Weinhold
8248066f63 Applied Haiku related changes from non-legacy binutils. Still untested.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24510 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24510
2008-03-21 21:56:45 +00:00
Ingo Weinhold
4e2b509a78 * Added Haiku cases in configure.
* Rebuilt the build system using the patched automake/-conf/libtool.
* Didn't touch ltconfig, libtool.m4, and lt-*. They look somehow
  obsolete. Need to recheck later.

NOTE: Those changes are untested yet. Don't update!


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24508 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24508
2008-03-21 16:38:40 +00:00
Ingo Weinhold
039ac55a77 The diff to ltmain.in got lost in the battle.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24507 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24507
2008-03-21 16:12:05 +00:00
Ingo Weinhold
6034b2b140 Haiku patch for libtool 1.5.26. The test suite succeeds save for test
link-order.test, which seems to require ld support for undefined symbols
in libraries. We'll review that after bootstrapping Haiku native
binutils and gcc.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24504 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24504
2008-03-21 13:30:37 +00:00
Ingo Weinhold
c1b0876f1e Haiku patch for automake 1.10.1. The test suite succeeds save for test,
instsh2.test, which fails by design when running with root privileges.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24503 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24503
2008-03-21 13:27:10 +00:00
Ingo Weinhold
1bad8b265d Congrats svn_load_dirs.pl, this change just disappeared.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24466 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24466
2008-03-19 13:01:56 +00:00
Ingo Weinhold
939977cf72 Merged autoconf 2.61 into trunk.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24464 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24464
2008-03-19 12:42:05 +00:00
Ingo Weinhold
7ff3918294 First version of a Perl 5.10.0 patch adding Haiku support:
* Built with debugging enabled (-O0 -g).
* No support for sockets or threads yet. We do want those eventually,
  though.
* 6 tests of Perl's test suite fail. 2 due to missing sockets support. 4
  others since they compile modules and make no provisions to link
  against libperl.so, which they should. Have to check back with the
  maintainters.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24460 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev24460
2008-03-19 11:38:28 +00:00
Jérôme Duval
4fe355caa7 we need to set float_format for the target i586-beos-pc to i386. If not, we default to i64, which means long double equals double.
this finally fixes bug #1608 and enables to print correctly long double values.
It should now be possible to revert r21883.
I hope this change has no consequences on binary compatibility (it shouldn't). Oliver, please review.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@23127 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev23127
2007-12-16 17:27:36 +00:00
François Revol
d6ccef5ab0 This is the only way I could get reg-printf.c from glibc, some stupid handling of comments used to discard gcc output...
Wonder why it doesn't happen on x86 ? (maybe cause comment chars are different ?)
cf. http://sources.redhat.com/ml/binutils/2004-04/msg00646.html


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@22737 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev22737
2007-10-26 16:58:21 +00:00
Ingo Weinhold
df8195dfa4 Applied r22729 to the configure.in files, too.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@22730 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev22730
2007-10-26 01:52:48 +00:00
Ingo Weinhold
76f9da413c Patch by tombhadac (slightly adjusted by myself): The binutils configure
scripts accept makeinfo versions 4.x with x >= 10 now, too.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@22729 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev22729
2007-10-25 22:25:24 +00:00
François Revol
78cb788e26 Remove redundant cpu= and machine= asserts
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@22689 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev22689
2007-10-23 22:06:30 +00:00
François Revol
333bfd6196 Preliminary gcc port to m68k-unknown-haiku.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@22685 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev22685
2007-10-23 18:58:57 +00:00
François Revol
ae7a2053d4 Ported binutils to m68k-unknown-haiku.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@22683 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev22683
2007-10-23 18:55:01 +00:00
Ingo Weinhold
4fd84c5a28 Patch by Samuel Rodriguez Perez: Define OSPLAT=X86 for AMD 64.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@22045 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev22045
2007-08-22 21:30:45 +00:00
Ingo Weinhold
f4194f2ee8 StatCacheServer changes:
* A Node can no longer have a referring "." or ".." Entry (except the root
  directory), not even temporarily. This rules out cycles when resolving
  paths.
* Made the code more robust against missed node monitoring messages. If
  an entry is encountered that shouldn't be there, it is removed. As
  implemented before, a Node could end up with a NULL referring Entry,
  leading to a crash when an Entry that references the Node was moved.
  Missing node monitoring messages is actually virtually impossible,
  since a dedicated looper does nothing else but pushing those into a
  separate queue, but nevertheless Stippi seems to have managed the trick. :-)


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@21307 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev21307
2007-06-03 16:25:35 +00:00
Axel Dörfler
392bb39478 I couldn't do a full clean build without this any longer using Linux and GCC 2.95.3 (Archive action too
long), YMMV.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20545 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev20545
2007-04-04 07:34:07 +00:00
Ingo Weinhold
6fb0ada26b Fixed PPC compiler build.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20325 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev20325
2007-03-04 19:53:35 +00:00
Ingo Weinhold
18ca835d6d Merged in the changes to version 4.1.2.
* Solved conflicts with the libtool related files by simply using the
  vendor versions. IIRC the haiku related changes to libtool and
  autoconf were relevant only for the binutils.
* Solved {libstdc++-v3,libmudflap}/configure conflicts by re-running
  autoconf for these directories.

I'm already working on fixing the Haiku build, so please don't do the
same.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20318 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev20318
2007-03-04 04:07:35 +00:00