Jerome Duval
5bdd342ffa
gcc: ASM_COMMENT_START shouldn't be defined at the OS level.
...
* arm: ASM_COMMENT_START is defined in arm/aout.h.
* i386 and x86_64: define ASM_COMMENT_START.
* others: ASM_COMMENT_START is defined in ${arch}/${arch}.h.
btrev43029
2012-03-31 17:43:19 +02:00
Jérôme Duval
e9b8ca373a
updated optional package build script for gcc4 to make a cross compiler.
...
* --arch sets the target arch, defaults to x86
* --source-dir sets the Haiku root directory for headers.
* tested with ppc.
btrev43028
2012-03-18 15:31:41 +01:00
Jérôme Duval
a2012848e3
Fix arm regression since 4.6
...
* a part of arm/bpabi.h was moved to ../../libgcc/config/arm/bpabi-lib.h
* reference this new header.
btrev43027
2012-01-22 11:55:38 +01:00
Jerome Duval
4c871ab97b
updated gcc4 optional package build script
...
* add --enable-frame-pointer as this isn't default for x86 any more
* use install-strip instead of install
* updated optional package description
btrev43026
2012-01-22 02:26:38 +00:00
Jérôme Duval
8bfdd26cf9
Get rid of svr4 for powerpc too, it's now deprecated.
btrev43025
2012-01-19 21:52:27 +01:00
Jérôme Duval
17b69b54d1
Merge commit '4.6.2'
...
Conflicts:
gcc/gcc/configure
btrev43024
2012-01-07 16:59:47 +01:00
Jérôme Duval
0a01235971
import of gcc 4.6.2 (core and g++ only).
2012-01-07 16:48:31 +01:00
Jérôme Duval
5cceb123aa
Merge commit '4.5.3'
2012-01-07 16:45:05 +01:00
Jérôme Duval
9507ae2782
import of gcc 4.5.3 (core and g++ only).
2012-01-07 16:44:13 +01:00
Jérôme Duval
d534b97c8b
binutils: fix out of tree building with syslex regens
...
If you take a release tarball (which has pregenerated syslex and sysinfo files
in it), apply some patches which touch syslex.l, and then build the result out
of tree, it will fail. This is because syslex.l uses sysinfo.h, but the
sysinfo.y file wasn't updated and so it wasn't regenerated (the files are found
in the $srcdir), and the build rule for syslex.c does not use -I$(srcdir) when
it finds a local file. Simple fix below.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
btrev43023
2012-01-06 21:29:10 +01:00
Jérôme Duval
371dda4618
Fix merge of binutils 2.22. Sorry for the noise.
2012-01-06 21:08:28 +01:00
Jérôme Duval
e80b1623ba
Missing files for binutils 2.22
2012-01-06 20:25:50 +01:00
Jérôme Duval
192c9480a6
Fix the merge of binutils 2.22, sorry for the noise.
2012-01-06 20:21:47 +01:00
Jérôme Duval
1e198b669a
Merge binutils 2.22
btrev43022
2012-01-06 00:20:08 +01:00
Jérôme Duval
54b66b3b47
import binutils 2.19
2012-01-06 00:11:05 +01:00
Jérôme Duval
6f0effcf54
import binutils 2.22
2012-01-05 22:46:40 +01:00
Jérôme Duval
4cc942491d
import binutils 2.19
2012-01-05 22:33:17 +01:00
Jérôme Duval
30bb6f454f
Get rid of svr4, it will be deprecated in 4.6
btrev43021
2012-01-02 22:11:40 +01:00
Matt Madia
18f073d8bf
Bumped up the VERSION and made JAMVERSYM identical to it.
btrev43020
2011-12-22 21:55:54 +00:00
Matt Madia
9ceedecc39
Created new jam variable JAMJOBS, which is set by the -jx flag.
2011-12-22 21:54:22 +00:00
Matt Madia
ed5b974772
Automatic whitespace cleanup. No functional change.
2011-12-22 21:51:29 +00:00
Oliver Tappe
d6fd401aa3
Fix use of non-existent variable (GCCDATE instead of gccDate).
btrev43019
2011-12-15 11:41:15 +01:00
Fredrik Holmqvist
e310d205fb
Add Haiku to list of elf-target so that is_elf is true.
...
This enables --enable-gold flag to be used (doesn't compile yet though).
The gold linker promises up to five times faster linking than ld, it is also possible to use link-time optimizations.
btrev43018
2011-12-03 10:14:13 +01:00
Oliver Tappe
68d377c247
Improve build-gcc2-optional-package.sh:
...
* automatically build the compiler if it doesn't exist yet
* protect against unneeded cruft breaking the build
btrev43017
2011-11-23 16:49:35 +00: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.
btrev43016
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
btrev43015
2011-11-16 18:01:03 -05:00
Oliver Tappe
41126db379
Add more generated files of legacy gcc to .gitignore
btrev43014
2011-11-12 21:08:15 +01:00
Oliver Tappe
7f3fb010ff
Add autom4te.cache to .gitignore
btrev43013
2011-11-12 20:32:54 +01:00
Oliver Tappe
af2683a443
Drop another .info target that triggers invocation of makeinfo.
btrev43012
2011-11-12 20:08:56 +01:00
Oliver Tappe
5a389649c8
Drop obsolete documentation on building as cross compiler for BeOS
btrev43011
2011-11-12 19:15:07 +01:00
Oliver Tappe
17e8ac5852
Cleanup gcc4 buildtools a bit:
...
* replace gmp.info-? in gcc/gmp/doc by gmp.info, since the latter
is the makeinfo target that will otherwise have to be generated
each time gcc4 is built
* add autom4te.cache to svn:ignore
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@43010 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev43010
2011-10-30 19:29:14 +00: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
btrev42999
2011-10-30 14:10:55 +00:00
Scott McCreary
94b8b639d8
Update gcc4 install instructions to reflect change to 4.5
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@42529 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev42529
2011-08-01 01:39:39 +00:00
Jérôme Duval
44943b14a0
Merging GCC 4.5.3 in trunk. Patch in #6840 is required to build Haiku.
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@42247 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev42247
2011-06-19 17:36:26 +00:00
Jérôme Duval
3c24538123
Adding inline mpc directory so the MPC library is built as part of GCC 4.5
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@42242 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev42242
2011-06-19 13:22:38 +00:00
Fredrik Holmqvist
96ef6353b0
Make the ..patience.. count comparison postinc so it shows one at the start and use every 10k target instead.
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@41296 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev41296
2011-05-01 12:18:17 +00:00
Fredrik Holmqvist
7982f87b1e
Only write "...patience..." every 5000th target instead of 1000th.
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@41295 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev41295
2011-05-01 12:09:05 +00:00
Fredrik Holmqvist
7a4d04f795
Disabled the "..skipped x for lack of y..." message as it is not very useful information and hides the interesting info in noise (why it failed).
...
It should probably be a command line option as it might be interesting in some cases.
Also added a "Build Failure" at the end if there were failed targets.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@41294 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev41294
2011-05-01 11:34:52 +00: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
btrev40648
2011-02-23 22:31:44 +00:00
Jérôme Duval
a348441958
changes to match what got used by upstream in 4.5
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@40618 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev40618
2011-02-22 18:20:36 +00:00
Ingo Weinhold
8116a5d9ff
Merged gcc4-weak-symbols branch.
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@39570 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev39570
2010-11-22 13:03:49 +00:00
Ingo Weinhold
b4a0832035
Strip the executables of debug info.
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@39429 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev39429
2010-11-14 14:58:28 +00:00
Ingo Weinhold
1e30b3120c
Fixed creating the "current" symlink. Spotted by Stippi.
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@39409 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev39409
2010-11-12 10:02:58 +00:00
Ingo Weinhold
5c3390ac15
* Add an include/g++ symlink in the package. Apparently it isn't created by
...
"make install" anymore.
* Add the "current" symlink in the ".../tools" directory.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@39406 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev39406
2010-11-11 22:47:18 +00:00
Ingo Weinhold
d436eaa1b8
Script to build a gcc 4 optional package from the sources.
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@39405 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev39405
2010-11-11 21:33:22 +00:00
Ingo Weinhold
4813397466
Updated instructions.
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@39404 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev39404
2010-11-11 21:32:31 +00:00
Fredrik Holmqvist
d1a8102665
Enable O3 optimization for Jam.
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@39056 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev39056
2010-10-23 07:31:08 +00:00
François Revol
5e6384156e
I now get Archive actions too long (max 40960)! on OSX, so enlarge it a little.
...
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@38590 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev38590
2010-09-08 22:15:37 +00:00
Oliver Tappe
7eb32704ba
* added autom4te.cache to svn:ignore, which seems to have been created due to the
...
updated config.guess and/or config.sub
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@38453 a95241bf-73f2-0310-859d-f6bbb57e9c96
btrev38453
2010-08-30 16:14:19 +00:00