Commit Graph

101 Commits

Author SHA1 Message Date
Ingo Weinhold
f51a39bb6e Added support for target i586-pc-haiku.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-05 14:10:26 +00:00
Ingo Weinhold
64dcab13c1 Added support for Haiku x86 target.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-05 14:02:23 +00:00
Ingo Weinhold
5924f28caf Added machine i586-pc-haiku.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-05 13:54:26 +00:00
Ingo Weinhold
72db4cec0a Added machine i586-pc-haiku.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-05 13:52:01 +00:00
Ingo Weinhold
de837934d8 Copying libtool 1.5.20 into the trunk.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-05 13:34:28 +00:00
Ingo Weinhold
c62c4a49d7 Copying autoconf 2.13 into the legacy part of the trunk.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-05 13:23:14 +00:00
Ingo Weinhold
77f19290fd Copying autoconf 2.59 into the trunk.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-05 13:17:04 +00:00
Ingo Weinhold
e6c8d025f2 Renamed gcc4 to gcc.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-22 22:43:43 +00:00
Ingo Weinhold
6809759e16 Copying binutils 2.16.1 into trunk.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-22 16:32:10 +00:00
Ingo Weinhold
b67b6a17a6 Moved the old binutils to their new home.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-22 15:54:23 +00:00
Ingo Weinhold
9ea2a99edb Moved the old gcc to its new home.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-22 15:53:32 +00:00
Ingo Weinhold
2af2b0d2e0 New home for the gcc 2.95.3 and the old binutils.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-22 15:51:37 +00:00
Ingo Weinhold
30d2be341d Patch by Oliver to allow allow building with gcc 4.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-19 21:01:04 +00:00
Ingo Weinhold
3b60319274 Support for (cross-) building libstdc++. The locale support stuff is
mostly copy'n'pasted from the Linux/FreeBSD configuration.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-17 16:32:11 +00:00
Ingo Weinhold
b6c3e831b9 Don't tweak the [CROSS_]SYSTEM_HEADER_DIR to .../posix, since it will
cause some headers not to be found. Rather fix the test for finding
<limits.h>.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@14998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-17 16:30:09 +00:00
Ingo Weinhold
05e88697a9 Missed that. Part of patch gcc-3.4.3-BeOS-gthread.diff from Marcin's
gcc 3.4.3 package. Enables thread support for BeOS.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@14997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-17 16:28:33 +00:00
Ingo Weinhold
418d835d48 Don't generate a libiberty for target beos. It fails and we don't need
it (for building Haiku at least).


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@14996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-17 16:26:25 +00:00
Ingo Weinhold
57087cfc96 Patch gcc-3.4.3-BeOS-jcr-fix.diff from Marcin's gcc 3.4.3 package. It
keeps the JCR section (Java support stuff) from being created. A bit hacky.
There's the target define TARGET_USE_JCR_SECTION which is documented to be
used to disable it, but AFAI have seen it is never evaluated.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@14995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-17 16:24:42 +00:00
Ingo Weinhold
1c87b35698 Patch gcc-3.4.3-BeOS-gthread.diff from Marcin's gcc 3.4.3 package.
Threading support. I wonder whether the mutexes should better be
semaphores/benaphores, though.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@14994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-17 16:18:35 +00:00
Ingo Weinhold
bd1970381d Patch from Marcin's gcc 3.4.3 package (gcc-3.4.3-BeOS-beos-elf.diff
probably originally by Oliver). We additionally let gcc define
__GXX_MERGED_TYPEINFO_NAMES, which solves RTTI problems due to the fact
that a type_info for a class can exist in multiple times.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@14993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-17 16:14:29 +00:00
Nathan Whitehorn
2ac1cb254f Fixed libiberty to build on FreeBSD. A few more problems to go.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@14978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-17 00:47:53 +00:00
Ingo Weinhold
b4ad2f5e97 Copying gcc 4 into the main trunk.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@14971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-16 19:04:34 +00:00
Ingo Weinhold
f04816505f When bash 3 is run POSIX compatible (e.g. as /bin/sh), invoking "trap"
without command argument is not allowed anymore.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@14562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-29 00:56:06 +00:00
Ingo Weinhold
3e3080e506 Avoid a clash of two different RETURN enums. Happens under Linux; don't know why not under BeOS.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@14561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-29 00:30:19 +00:00
Ingo Weinhold
140e286cfb Move trunk into respective module.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@11774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-17 08:34:20 +00:00
Oliver Tappe
d01020874b - Applied several (old, external) patches that enable the support for anonymous
structs and unions in C as well as in C++ (application of this patch has
  been sugggested by execom through BeBits-talkback).

  This mail-thread explains the problem & solution:
      http://gcc.gnu.org/ml/gcc-bugs/1999-08n/msg00914.html

  These are the patches that have been applied:
      gcc-2.95-anon-struct-union.diff
      gcc-2.95-c++-tidy.diff
      gcc-2.95-c++-anon-struct.diff
      gcc-2.95-c++-anon-struct2.diff
  which can all be found here:
  		ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/cygwin/gcc-2.95/patches/


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@11421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-19 13:01:14 +00:00
Oliver Tappe
8f01cb10fd - switched some compile-time dependencies to target dependencies, such that
cross-compiling with BeOS target works.
- tweaked build-procedure to allow for proper generation of a i586-pc-beos
  cross-compiler on LINUX.
- added documentation for creation of cross-compiler.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@11255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-04 23:37:16 +00:00
Oliver Tappe
cb67fd0162 - added --disable-nls to the configure calls which seems to make the build
depend on less tools.
- culled gettext, libdl and libiconv from the tool-list Axel had just added.
  Only autoconf and automake should be needed now
  [Axel: I have checked this just now on my machine, but please correct me
   if I'm still wrong!]


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@11254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-04 23:24:32 +00:00
Oliver Tappe
49182b477d - patched $(MK_DOC) into the default dependencies, such that chow.c gets
built during the make process. Before, it was being built during the
  install process, when gcc might not be available, if the install goes
  into an empty folder. Now, installs in empty folders work properly.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@11253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-04 23:18:59 +00:00
Oliver Tappe
2ec313f7c3 - forgot about committing this, contains updated changes (from last release).
git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@11252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-04 21:23:26 +00:00
Axel Dörfler
89e5a936a4 Added some of the tools you need to build and where you can find them.
It still doesn't seem to be enough, though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@11250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-04 20:06:51 +00:00
shatty
67a3c23c86 fixed scientific(ios& i) - thanks to John [Beta] Drinkwater
git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@10545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-29 23:38:46 +00:00
shatty
5f2a11b032 provide convenience fixed(ios&) and scientific(ios&) inline functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@10475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-16 03:46:43 +00:00
Oliver Tappe
4616c25941 - we no longer hard-patch ld to not use relocation combination (combreloc),
as the default (using it) seems to generate slightly smaller results and
  not break anything.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@10421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 17:30:14 +00:00
Oliver Tappe
8f27e7c7a5 - we no longer need to hard-patch ld to not allow undefined symbols in
objects, as we now do this via gcc-specs.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@10420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 17:28:20 +00:00
Oliver Tappe
bd6811b11a - added --no-undefined to the specs so that we can drop a patch that changed
ld to use this as default.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@10419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 16:17:00 +00:00
Oliver Tappe
b1f7854b8a - added missing documentation for --relative-path-errors option.
git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@10418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 16:14:42 +00:00
Oliver Tappe
e5b1c1d2a4 - added support for manual selection of multiple/single symbol space via
-fmultiple-symbol-spaces or -fno-multiple-symbol-spaces.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@10352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-02 16:25:51 +00:00
Oliver Tappe
ad7c100bf6 - add frame pointer to fixed_regs unless -fomit-frame-pointer has been
given.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@10351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-02 16:22:42 +00:00
Oliver Tappe
bb1c955323 - instead of linking fix_bdirectwin_typeinfo.o only when generating apps,
we now link it always (against shared libraries, too). This fixes a
  problem when building libSDL.so (and probably other libs that contain
  code to start/stop BApplications).


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@10350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-02 16:21:04 +00:00
Oliver Tappe
f5a979fb14 - fixed problem with "fixed or forbidden register" bx or bp being spilled
for inline assembly that requires a lot of register operands. Now these
  registers are only spilled if it is safe to do so (if -fno-pic or
  -fomit-frame-pointer has been given).


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@10349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-02 16:18:25 +00:00
Oliver Tappe
d9894d5b5c - added info about -no-beos-fixes and -fmultiple-symbol-spaces
git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@10348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-02 16:16:05 +00:00
Oliver Tappe
58c9fe6e74 - added new switch -no-beos-fixes that deactivates the automatic linking
of fix_bdirectwin_typeinfo.o.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@10347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-02 16:14:56 +00:00
Oliver Tappe
16b7d295d1 - updated version for new release
git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@10346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-02 16:13:46 +00:00
Oliver Tappe
2bb8527ef7 - updated version for next release
git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@10345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-02 15:50:53 +00:00
Oliver Tappe
336d81404a - added clear()-method that was missing from basic_string.
git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@10129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 19:03:36 +00:00
Oliver Tappe
f99d3bcdd9 - rebuilt dependent files
git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9918 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 10:39:48 +00:00
Oliver Tappe
76e7a04213 - upgraded release date to 041111, for BeBits-release.
git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9917 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 10:27:47 +00:00
Oliver Tappe
6c343ef4f7 - corrected some minor errors
git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 10:20:23 +00:00
Oliver Tappe
714df9738a - added a missing patch that keeps warning state along with __extension
pragmas.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9911 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 08:43:09 +00:00