Commit Graph

80 Commits

Author SHA1 Message Date
Ingo Weinhold
a57415355d Bump version to 130425 2013-04-25 17:09:52 +02:00
Ingo Weinhold
1f1e659bdb gcc2: Add missing library and header search paths
* For /boot/common[/non-packaged] the standard include paths should be
  develop/headers/ as well instead of include/.
* Build the standard library search paths (the system and common ones)
  into the compiler as well. This makes setting the BELIBRARIES
  environment variable superfluous.
* The obsolete search paths (/boot/common[/non-packaged]/include/ and
  /boot/common/lib/ respectively) are still built in as well. They will
  be removed after a grace period, when all packages have been adjusted
  accordingly.
2013-04-25 17:09:50 +02:00
Oliver Tappe
278de7bc92 Bump versions of legacy compiler and binutils
* let's have a PM-specific version to lessen confusion
2013-04-21 23:21:14 +02:00
Adrien Destugues
24ebe81445 Add another standard C++ prototype for string::compare. 2013-04-21 23:04:33 +02:00
Joseph R. Prostko
a060af0916 Update GCC2 date versioning
* Due to recent changes by pulkomandy and myself, the date versioning must be updated
* A change to the configure script will follow this commit

Conflicts:
	legacy/gcc/gcc/version.c
2013-04-21 23:04:02 +02:00
Joseph R. Prostko
95f8bab5b6 Add gnu directory back to INCLUDE_DEFAULTS
* Done for both GCC2 and GCC4 buildtools
* Due to this change, hrev44719 will be reverted once new optional packages are built

Conflicts:
	legacy/gcc/gcc/config/i386/haiku.h
2013-04-21 23:03:18 +02:00
Adrien Destugues - PulkoMandy
99cc4338d7 Allow use of c_str() when <charT> != char
http://gcc.gnu.org/ml/libstdc++-prs/2000-q4/msg00004.html
This allows use on std::wstring, and others.
2013-04-21 23:02:20 +02:00
Adrien Destugues - PulkoMandy
855732f929 Add missing tan(), tanh() and log10() for std::complex.
These are part of the C++ standard, I don't know how they went missing
in our version.
http://www.cplusplus.com/reference/std/complex/

They are needed to build MathGL library, and likely other stuff.
2013-04-21 23:02:08 +02:00
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
9f9e588ceb Drop another .info target that triggers invocation of makeinfo.(cherry picked from commit af2683a443) 2013-04-19 21:58:29 +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
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