Get rid of eclipse fiels once and for all.
Homogenise the references to crosstool-NG:
- the project is named "crosstool-NG"
- the front-end is named "ct-ng"
- don't use shortcuts (such as "ct-ng" to stand for "crosstool-NG")
Default action is to print help.
Don't speak of make rules when dumping help, just speak of actions.
1 "Fixes" gcc-3.4.0 errors:
2 gconv_stubs.c:49: error: conflicting types for '__gconv_close_transform'
3 ../iconv/gconv_int.h:131: error: previous declaration of '__gconv_close_transform' was here
4 gconv_stubs.c:49: error: conflicting types for '__gconv_close_transform'
5 ../iconv/gconv_int.h:131: error: previous declaration of '__gconv_close_transform' was here
6 gconv_stubs.c:52: error: conflicting types for '__gconv'
7 ../iconv/gconv_int.h:112: error: previous declaration of '__gconv' was here
8 gconv_stubs.c:52: error: conflicting types for '__gconv'
9 ../iconv/gconv_int.h:112: error: previous declaration of '__gconv' was here
10 gconv_stubs.c:54: error: conflicting types for '__gconv_find_transform'
11 ../iconv/gconv_int.h:119: error: previous declaration of '__gconv_find_transform' was here
12 gconv_stubs.c:54: error: conflicting types for '__gconv_find_transform'
13 ../iconv/gconv_int.h:119: error: previous declaration of '__gconv_find_transform' was here
14 gconv_stubs.c:56: error: conflicting types for '__gconv_open'
15 ../iconv/gconv_int.h:99: error: previous declaration of '__gconv_open' was here
16 gconv_stubs.c:56: error: conflicting types for '__gconv_open'
17 ../iconv/gconv_int.h:99: error: previous declaration of '__gconv_open' was here
18 make[2]: *** [/home/dank/wk/crosstool-0.28-rc4h/build/i686-unknown-linux-gnu/gcc-3.4.0-20040406-glibc-2.1.3/build-glibc/c_stubs/gconv_stubs.o] Error 1
19 make[2]: Leaving directory `/home/dank/wk/crosstool-0.28-rc4h/build/i686-unknown-linux-gnu/gcc-3.4.0-20040406-glibc-2.1.3/glibc-2.1.3/c_stubs'
21 although the right thing would probably be to declare the
22 stubs to have the right attributes.
24 --- glibc-2.1.3/c_stubs/gconv_stubs.c.old Sun Apr 11 20:25:09 2004
25 +++ glibc-2.1.3/c_stubs/gconv_stubs.c Sun Apr 11 20:29:35 2004
27 Boston, MA 02111-1307, USA. */
31 +/* strange hack workaround for gcc-3.4.0. Might be a better way. */
32 +#define __gconv_close_transform foo__gconv_close_transform
33 +#define __gconv foo__gconv
34 +#define __gconv_find_transform foo__gconv_find_transform
35 +#define __gconv_open foo__gconv_open
37 #include <gconv_int.h>
38 +#undef __gconv_close_transform
40 +#undef __gconv_find_transform
43 /* hack for self identification */
44 int __c_stubs_is_compiled_in;