This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

icc dependency generation


Intel compiler icc version 7.1 handles the -MF option inconsistently.
Documentation states that it has to be used together with -M or -MM.
If used with -MD, for example, it will replace the file ending with .d:

$ icc -M -MF foo.bar conftest.c
 
$ ls
conftest.c  foo.bar
$ rm foo.bar
$ icc -MD -MF foo.bar -c conftest.c
$ ls
conftest.c  conftest.o  foo.d

Subsequently, the depcomp 'icc' mode will not be detected correctly
during the ./configure run, since it uses '-MD -MF'.

Not too experienced with depcomp and automake, I would guess the ideal
solution were to fix this within the compiler, but for current
installations the depcomp script might need adjustment.

Any suggestions? Which compiler version is the current depcomp supposed
to work with?

Regards,
Ralf



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]