This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
icc dependency generation
- From: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- To: automake at gnu dot org
- Date: Thu, 26 Jun 2003 11:23:04 +0200
- Subject: 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