gcc 4.1.1 -M bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I see -M option for gcc-4.1.1 output chops dirname, but faces below
problem.

$ cat foo.c 
#include "foo.h"
$ cat Include/foo.h 
/* empty */
$ gcc41 -M -I.//Include foo.c 
foo.o: foo.c /Include/foo.h
             ^
             root?


gcc-3.4.4 output was:
$ gcc -M -I.//Include foo.c 
foo.o: foo.c .//Include/foo.h

Any help please?


Thanks in Advance.

(Hiroki Kaminaga)
t
--

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux