irix bootstrap fail in mkdeps.c

Billinghurst, David (CRTS) David.Billinghurst@riotinto.com
Wed Feb 14 21:16:00 GMT 2001


Current irix cvs bootstrap with cc fails with

cc -c  -DIN_GCC    -g    -DHAVE_CONFIG_H    -I. -I.
-I/exd4/billingd/src/gcc/gcc -I/exd4/billingd/src/gcc/gcc/.
-I/exd4/billingd/src/gcc/gcc/config -I/exd4/billingd/src/gcc/gcc/../include
/exd4/billingd/src/gcc/gcc/mkdeps.c -o mkdeps.o
"/exd4/billingd/src/gcc/gcc/mkdeps.c", line 194: error(1140): a value of
type
          "int" cannot be used to initialize an entity of type "char *"
        char *start = basename (tgt);
                      ^

1 error detected in the compilation of
"/exd4/billingd/src/gcc/gcc/mkdeps.c".

This is probably due to 

2001-02-14  Nathan Sidwell  <nathan@codesourcery.com>

        * mkdeps.c (deps_add_default_target): Robustify. Add
        basename component only.
        * cpp.texi (-M): Describe how default target is generated.
        * invoke.texi (-M): Likewise.




More information about the Gcc-bugs mailing list