Commit Graph

152 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
2007-03-04 04:07:35 +00:00
Oliver Tappe
7477ce77cf * oops, forgot to commit these files, thanks to Jerome for telling me about the resulting
problems


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-03-03 16:35:28 +00:00
Oliver Tappe
9a99bec198 * updated cross-(or non-legacy-)binutils to version 2.17
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-25 15:02:21 +00:00
Oliver Tappe
9caea1f812 * mixed and matched code from binutils-2.15 in order to avoid crashing the
loader onnewer BeOS versions.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-22 11:54:24 +00:00
Oliver Tappe
f15a44214d * added comment about the patches that have been applied
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-22 10:51:02 +00:00
Oliver Tappe
ac65caadfb * fixed silly problem with as not accepting a divide (it interpreted it as
a start of comment instead, tsk!)


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-21 23:11:25 +00:00
Oliver Tappe
0aa3a3d9db * updated binutils to 2.17, most problems should be solved now...
except one: the binaries produced by this version of binutils crashes the loader of
  BeOS versions BONE, Dano (and probably Zeta, too). That's a pity, but I currently
  do not know how to fix this (as the fix available for older versions of binutils
  does not work anymore).



git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-21 21:17:52 +00:00
Oliver Tappe
9283ff9dee * updated binutils to 2.17, most problems should be solved now...
except one: the binaries produced by this version of binutils crashes the loader of
  BeOS versions BONE, Dano (and probably Zeta, too). That's a pity, but I currently
  do not know how to fix this (as the fix available for older versions of binutils
  does not work anymore).



git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-21 21:11:47 +00:00
François Revol
1227028b2b No reason to keep those 2 in, they are automatically generated.
This fixes one fo the problems of building gcc4 under Zeta.
See http://gcc.gnu.org/ml/gcc/2003-10/msg01501.html
If you want to try you'll have to also remove the -lm in gcc/gcc/Makefile.in or symlink it to libroot.so.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-08 19:04:45 +00:00
Ingo Weinhold
e938767ea3 Patch by Samuel Rodriguez Perez to fix building this gcc version for FreeBSD.
The removed header fixes don't apply to the Haiku headers anyway, so
this shouldn't be much of a problem.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-02 13:53:11 +00:00
Oliver Tappe
e4766e1c34 * joined 'install' & 'INSTALL' into one folder (INSTALL) in order to fix
ticket #844 (checkout under Windows)


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@18886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-19 08:11:25 +00:00
Oliver Tappe
9cca43537c * added missing changes to version info I forgot to commit ages ago...tsk!
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@18860 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-16 15:16:37 +00:00
Oliver Tappe
d86ae8ffd8 * fixed error in documentation (need to use 'legacy'-path).
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@18859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-16 15:14:54 +00:00
Oliver Tappe
6c33bb6291 * renamed cross-compiler documentation that targets BeOS to make that fact
more obvious.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@18631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-26 12:19:47 +00:00
Oliver Tappe
7381630985 * finally fixed the documentation bug that failed to mention that the stuff that
should be built lives in the 'legacy' folder. This confused several people (and
  rightly so >;o).


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@18630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-26 12:17:52 +00:00
Oliver Tappe
3b858bf0a8 * created explicit micro-documentation-file that describes how to build a cross
compiler for haiku on LINUX.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@18629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-26 12:15:54 +00:00
Oliver Tappe
61e8e0f75c * added haiku-<date> pattern to version such that it is (from now on)
possible to differentiate all the jam-versions out there...


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@18505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-13 14:30:12 +00:00
Oliver Tappe
742ec4efee * should now be able to build jam on Zeta, too.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@18504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-13 14:28:32 +00:00
Oliver Tappe
c4d9c2df99 * fixed bug when waiting for sub-process related to handling of multiple
children (as created by piped commands). This caused the compilation
  of AboutHaiku to fail on Zeta.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@18503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-13 14:27:48 +00:00
Oliver Tappe
c8cb9d20d2 - cleaned up contents to only list user relevant changes.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@18094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-10 22:32:11 +00:00
Oliver Tappe
81d6094934 - moved gcc_distribution into the legacy folder, as it relates to the
legacy version of binutils & gcc


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@18091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-10 21:19:26 +00:00
Oliver Tappe
3322ac8471 - added file listing changes to last gcc-release (in preparation for the next one).
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@18090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-10 20:54:39 +00:00
Jérôme Duval
b619e2771e if a node entry is moved and the origin entry isn't found, an entry is created
In fact, BeIDE seems to delete the entry and move a temp entry to the right place: 
StatCacheServer was then thinking that the entry was removed


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@17926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-26 15:22:41 +00:00
Ingo Weinhold
d018825503 Moving jam to the buildtools module caused the rc finding algorithm to break.
We no longer even try to do that. The user can define the environment variable
RC, if they want StatCacheServer resources, otherwise they will just not be
added (a respective note is printed).
Closes bug #176.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@16533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-27 15:02:06 +00:00
Ingo Weinhold
a1a02bed3c New feature: Now jam defines a variable JAM_TARGETS, which contains
the targets given on the command line (respectively "all", if none
has been given). The contents of the variable can be changed from
within the Jamrules/Jamfiles. The targets that are in JAM_TARGETS
after Jamfile parsing is done, are those that will be built (and their
dependencies, of course). This allows for interesting build system
features.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@16345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-11 01:57:34 +00:00
Andrew Bachmann
23c3fee924 scripts
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@16213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-03 02:32:59 +00:00
Ingo Weinhold
aa62780422 Patches for building a cross compiler under FreeBSD. Proposed by
Alexander Deynichenko, changed a bit though.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@16178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 00:28:59 +00:00
Oliver Tappe
5effaca78b Added cc1plus as bootstrap-dependency such that fix_bdirectwin_typeinfo.cpp can
be compiled (it requires a c++-compiler, of course). 
This fixes the build on R5.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@16140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-29 18:06:48 +00:00
Axel Dörfler
c1ffb3028e Don't suppress OSPLAT to be set correctly on FreeBSD (what the hell??).
Bugfix provided by Alexander Deynichenko.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@16138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-29 17:40:47 +00:00
Oliver Tappe
cdeb2e6d93 moved USE_EGCS_MANGLED_NAMES from host to target config file in order to
generate "correct" (aka BeOS-specific) symbols when using the cross
compiler, too.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@16119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 14:35:27 +00:00
Ingo Weinhold
ecc89c9a6a Moved jam into the buildtools modules, where it belongs.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-29 18:40:48 +00:00
Ingo Weinhold
17dd620975 Another piece of the puzzle: BFD has a value for a target's max page size.
The value defined for ld must be the same, since otherwise one gets
effects like we had for generated PPC objects: The BFD page size was
0x10000, the ld page size 0x1000. Thus the data segment alignment forced
in the linker script didn't allow BFD to really start a new segment
(unless by accident a 0x10000 boundary was crossed as well). Hence our
libraries and executables only had one loadable segment (containing both
text and data), which neither of the three Haiku ELF loaders (in boot
loader, kernel, and userland) likes at all.

As a fix we force 0x1000 page size for target Haiku in a similar way it
is done for QNX.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-29 00:08:48 +00:00
Ingo Weinhold
dab660cbe3 * The .plt section for PPC is of type SHT_NOBITS (not SHT_PROGBITS as
for x86), so it should be placed near the .bss sections. This fixes
  linkage problems -- the linker had to split the text segment after the
  .plt section, which caused its pre-computed program header count to be
  wrong.
* I also added the stuff concerning the .fixup and .got{1,2} sections I
  found in the generic ELF PPC script. It shouldn't harm at least.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-10 20:07:57 +00:00
Ingo Weinhold
5f492e427e Also define "__powerpc__".
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-09 14:05:29 +00:00
Ingo Weinhold
5c52022905 On PPC we actually use a small data area.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-09 14:03:46 +00:00
Ingo Weinhold
8c840510db Added support for machine powerpc-*-haiku. Reorganized things a bit:
The i386-pc-haiku no longer uses the BeOS BFD target emulation, but
its own. A few things are shared for both *-*-haiku machines now.
The PowerPC Haiku binutils and gcc build, but I wouldn't expect them
to really produce usable output yet. We'll see...


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-06 22:39:47 +00:00