Commit Graph

127 Commits

Author SHA1 Message Date
Joseph R. Prostko
48a09beb0a 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
2012-10-31 23:54:19 -04:00
Joseph R. Prostko
6be228270a 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
2012-10-31 23:43:01 -04:00
Adrien Destugues - PulkoMandy
5f2852400d 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.
2012-10-27 15:56:05 +02:00
Adrien Destugues - PulkoMandy
72f47ffea0 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.
2012-10-27 15:42:44 +02:00
Joseph R. Prostko
0208757700 Bump date versioning for GCC 2.95.3 for R1A4 release 2012-10-12 19:51:37 -04:00
Oliver Tappe
5abab92edf Bump legacy compiler version. 2011-11-22 18:59:35 +01:00
Oliver Tappe
073cb9127c 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.
2011-11-19 16:45:49 +01:00
Matt Madia
ef37057d92 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
2011-11-16 18:01:03 -05:00
Oliver Tappe
41126db379 Add more generated files of legacy gcc to .gitignore 2011-11-12 21:08:15 +01:00
Oliver Tappe
7f3fb010ff Add autom4te.cache to .gitignore 2011-11-12 20:32:54 +01:00
Oliver Tappe
af2683a443 Drop another .info target that triggers invocation of makeinfo. 2011-11-12 20:08:56 +01:00
Oliver Tappe
32fb726909 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
2011-10-30 14:10:55 +00: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
Oliver Tappe
f15a44214d * added comment about the patches that have been applied
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-22 10:51:02 +00:00
Oliver Tappe
ac65caadfb * fixed silly problem with as not accepting a divide (it interpreted it as
a start of comment instead, tsk!)


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-21 23:11:25 +00:00
Oliver Tappe
0aa3a3d9db * updated binutils to 2.17, most problems should be solved now...
except one: the binaries produced by this version of binutils crashes the loader of
  BeOS versions BONE, Dano (and probably Zeta, too). That's a pity, but I currently
  do not know how to fix this (as the fix available for older versions of binutils
  does not work anymore).



git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-21 21:17:52 +00:00
Oliver Tappe
9283ff9dee * updated binutils to 2.17, most problems should be solved now...
except one: the binaries produced by this version of binutils crashes the loader of
  BeOS versions BONE, Dano (and probably Zeta, too). That's a pity, but I currently
  do not know how to fix this (as the fix available for older versions of binutils
  does not work anymore).



git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@20191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-21 21:11:47 +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
c8cb9d20d2 - cleaned up contents to only list user relevant changes.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@18094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-10 22:32:11 +00:00
Oliver Tappe
81d6094934 - moved gcc_distribution into the legacy folder, as it relates to the
legacy version of binutils & gcc


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@18091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-10 21:19:26 +00:00
Andrew Bachmann
23c3fee924 scripts
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@16213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-03 02:32:59 +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
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
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
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