Commit Graph

66 Commits

Author SHA1 Message Date
Oliver Tappe
e925619d1f Trying to fix #8063 (failure to build gcc2 when updating info files):
* remove all *.info targets so the gcc2 build system doesn't
  try to update them, as that doesn't always work because of
  apparent incompatibilities with newer makeinfo versions

git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@42999 a95241bf-73f2-0310-859d-f6bbb57e9c96
(cherry picked from commit 32fb726909)
2013-04-19 21:58:21 +02:00
Ingo Weinhold
966d0c763a Bump version 2011-07-17 17:02:44 +02:00
Ingo Weinhold
a5f717a22d Add common include paths to standard search paths 2011-07-17 17:02:44 +02:00
Oliver Tappe
cb66866b95 * drop 'packages/contents' from base paths again (we are back to
using /boot/system, /boot/common and /boot/home/config
  as packagefs mount-points)

git-svn-id: file:///srv/svn/repos/haiku/buildtools/branches/package-management@40804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-17 17:02:44 +02:00
Oliver Tappe
419eb668e4 * add " (Haiku)" to version as indicator that this gcc has been
patched in a haiku-specific way


git-svn-id: file:///srv/svn/repos/haiku/buildtools/branches/package-management@40802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-17 17:02:44 +02:00
Oliver Tappe
a4a27e7bb8 * correct version (forgot to drop the 'haiku-' bit)
git-svn-id: file:///srv/svn/repos/haiku/buildtools/branches/package-management@40782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-17 17:02:44 +02:00
Oliver Tappe
47fe6891ee * fix a potential problem in gcc/gcc/configure which is triggered when configure is newer than configure.in
git-svn-id: file:///srv/svn/repos/haiku/buildtools/branches/package-management@40761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-17 17:02:43 +02:00
Oliver Tappe
fa620f65f0 * adjusted for package management
git-svn-id: file:///srv/svn/repos/haiku/buildtools/branches/package-management@40760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-17 17:02:43 +02:00
Oliver Tappe
e68b71f49e * bump version of gcc2
git-svn-id: file:///srv/svn/repos/haiku/buildtools/branches/package-management@40758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-17 17:02:43 +02:00
Oliver Tappe
8717d5e73a * adjust header paths to changes by package management
git-svn-id: file:///srv/svn/repos/haiku/buildtools/branches/package-management@40757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-17 17:02:43 +02:00
Oliver Tappe
e62f027fec circumvent strange problems during build of gprof ('no objective-c compiler found') caused by our current make version (3.82)
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@40648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-23 22:31:44 +00:00
Oliver Tappe
b4eb6056d7 Part of #3298:
* applied patch by VinDuv that allows to build the legacy buildtools on Mac OS X
  - thanks!


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@38452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-30 16:07:21 +00:00
Oliver Tappe
3019b27ced Part of #3298:
* applied (slightly changed) patch by VinDuv that updates config.guess and 
  config.sub in order to be able to build the legacy buildtools on Mac OS X
  - thanks!


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@38451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-30 16:06:12 +00:00
Oliver Tappe
3f8e71737b Fix #5971:
* bump version of legacy compiler to match the expectations in our configure 
  script


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@38383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-27 00:05:59 +00:00
Axel Dörfler
3a923d4177 * Enable c9x for C++ as well to enable the standard way for variadic macros
(this has no other side effect).


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@38236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-08-18 14:41:53 +00:00
Oliver Tappe
215ca35bee * revert 37775, as the define has a wrong value and it's probably better to do
stuff like this somewhere in our libc headers.

git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-27 21:38:26 +00:00
Oliver Tappe
735af2d623 * added standard define __STDC_ISO_10646__ to all compiler configurations,
indicating that haiku uses ISO_10646 in wchar_t (in our case: UTF-32)


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-27 19:20:25 +00:00
Bruno G. Albuquerque
2b4fc44ef0 The strcpy() usage would overwrite its own buffer. The behaviour somehow
worked in Linux but it seems to have changed in Ubuntu 10.04 x64 and
compiling GCC 2 would not work on it.

Thanks to Shisui for the investigation and original patch and to Ingo who
noticed a simpler way to fix the problem.



git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-19 01:41:31 +00:00
Oliver Tappe
107d3d5cca * updated version for current build
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-12 18:29:57 +00:00
Oliver Tappe
1e5b315f7e * fix infinite loop when the utf-8 -> utf-32 converter encounters an invalid
utf-8 sequence/byte


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-12 15:58:03 +00:00
Oliver Tappe
5f114e19ea * fix build when building gcc2 with gcc2 (c89-syntax)
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-11 20:51:57 +00:00
Oliver Tappe
c4e9b38ec8 * fix wide character literals by implicitly converting from utf-8 (which
we assume as the input charset) to utf-32 (which is used by Haiku's
  wchars)


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@37474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-11 19:32:34 +00:00
Oliver Tappe
1e7dbaf732 * update gcc2 version date to 100420 (today)
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@36376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-20 16:26:47 +00:00
Ingo Weinhold
5998536b29 The "cpp" header directory should only be included in C++ mode. Should fix
#5630 once the gcc optional packages have been rebuilt.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@36354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-19 15:35:39 +00:00
Oliver Tappe
03890535ff * merged 32bit-wchar_t branches of buildtools and haiku back into
the respective trunk

git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@31443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-07 10:30:09 +00:00
Oliver Tappe
566b075d92 * specify type for $$ in order to make newer bison versions happy,
such that gcc2 can be compiled on haiku


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@31308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-29 09:08:34 +00:00
Oliver Tappe
0df6ed3163 * no longer complain about %z being an unknown conversion type - our printf()
is much newer than gcc-2.95.3 and does support it


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@31179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-22 18:18:53 +00:00
Oliver Tappe
3126d774bf * applied fix for optimization of wchar_t constants which
is mentioned in the ICU configuration for BeOS,
  since otherwise we could not use optimization for
  ICU at all.
  [see http://gcc.gnu.org/ml/gcc-patches/2000-09/msg00454.html]



git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@31054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-14 21:07:41 +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
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
Ingo Weinhold
cfa5e64c0c Generated files.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@24530 a95241bf-73f2-0310-859d-f6bbb57e9c96
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
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
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
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
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
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
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
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
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
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
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
2008-03-21 16:38:40 +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
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
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