patches/gcc/3.3/sh-predef-gnu_source.patch
author |
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> |
|
Thu May 17 16:22:51 2007 +0000 (2007-05-17) |
changeset 96 |
aa1a9fbd6eb8 |
permissions |
-rw-r--r-- |
Debug facilities:
- add a framework to easily add new ones
- add gdb as a first debug facility
- add patches for gdb
After the kernel checked its installed headers, clean up the mess of .checked.* files.
Reorder scripts/crosstool.sh:
- dump the configuration early
- renice early
- get info about build system early, when setting up the environment
- when in cross or native, the host tools are those of the build system, and only in this case
- elapsed time calculations moved to scripts/functions
Remove handling of the color: it's gone once and for all.
Update tools/addToolVersion.sh:
- handle debug facilities
- commonalise some code
- remove dead tools (cygwin, tcc)
Point to my address for bug reports.
yann@1
|
1 |
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11096
|
yann@1
|
2 |
and http://gcc.gnu.org/ml/gcc-patches/2003-06/msg00424.html
|
yann@1
|
3 |
|
yann@1
|
4 |
--- gcc-3.3/gcc/config/sh/linux.h.old Wed Jun 4 17:37:40 2003
|
yann@1
|
5 |
+++ gcc-3.3/gcc/config/sh/linux.h Wed Jun 4 17:38:16 2003
|
yann@1
|
6 |
@@ -53,5 +53,9 @@
|
yann@1
|
7 |
%{static:-static}"
|
yann@1
|
8 |
|
yann@1
|
9 |
+/* The GNU C++ standard library requires that these macros be defined. */
|
yann@1
|
10 |
+#undef CPLUSPLUS_CPP_SPEC
|
yann@1
|
11 |
+#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)"
|
yann@1
|
12 |
+
|
yann@1
|
13 |
#undef LIB_SPEC
|
yann@1
|
14 |
#define LIB_SPEC \
|
yann@1
|
15 |
"%{shared: -lc} \
|