Commit Graph

50 Commits

Author SHA1 Message Date
Oliver Tappe
87efb055fb Bump legacy compiler version.
Conflicts:
	legacy/gcc/gcc/version.c
2013-04-21 22:59:52 +02:00
Oliver Tappe
64e25a9475 Define __STDC_ISO_10646__ in our gccs.
* define __STDC_ISO_10646__ to '201103' in order to indicate that
  Haiku's wchar_t supports the Universal Character Set (UCS) defined
  by the ISO 10646 standard published in March 2011.
(cherry picked from commit 073cb9127c)
2013-04-21 22:58:49 +02:00
Matt Madia
fdc4d2f79b Prevent fixing the includes.
Forcibly prevent fixinclude from executing. This prevents the spawning of a
shell process, which would be abandoned due to fixinc crashing.

Submitted By: BLFS Book <blfs-book@linuxfromscratch.org>
Date: 2003-10-05
Initial Package Version: 2.95.3
Origin: BLFS Book
http://www.linuxfromscratch.org/blfs/view/5.1/general/gcc2.html
(cherry picked from commit ef37057d92)
2013-04-21 22:53:36 +02:00
Oliver Tappe
1fea500c21 Add more generated files of legacy gcc to .gitignore
(cherry picked from commit 41126db379)
2013-04-21 22:53:34 +02:00
Oliver Tappe
c88591af88 Add autom4te.cache to .gitignore
(cherry picked from commit 7f3fb010ff)
2013-04-21 22:53:31 +02:00
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
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
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
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
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
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
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
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
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