90 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Ingo Weinhold
59eda489cd Added support for target i586-pc-haiku. Mostly by cloning the *-beos
stuff, partially omitting cruft.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-05 14:17:09 +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
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
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
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
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
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
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
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
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
Oliver Tappe
b16647ffb4 - fixed problem with bdb-compatibility when compiling libstdc++ without
inlining (compatibility functions were missing from libstdc++.r4.so in that
  case).


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-07 19:16:03 +00:00
Oliver Tappe
7ee596e436 - added files that didn't make it in during the patch-session.
git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 19:26:41 +00:00
Oliver Tappe
78abf7bba0 avoid ICEing when encountering a (template-related) problem during
generation of debug-info.
	This is highly experimental and has a good chance of being removed
	at a later stage.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 18:36:41 +00:00
Oliver Tappe
552d1c2e8d avoid overoptimizing implicitly generated functions of local classes
in order to fix linking errors.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 18:36:18 +00:00