* Richard Hadsell wrote on Wed, Jun 02, 2004 at 04:14:39PM CEST:
>
[ Automake and Intel compiler ]
>
> This is typical of the build:
>
> gmake[2]: Entering directory
> `/tmp_mnt/netDISKS/master/netmt/LINUX_X86/rnd/lam/lam-7.0.6/otb/tping'
> if icc -DHAVE_CONFIG_H -I. -I. -I../../share/include
> -I../../share/include -DLAM_BUILDING=1 -O3 -w1 -pthread -MT tping.o -MD
> -MP -MF ".deps/tping.Tpo" -c -o tping.o tping.c; \
> then mv -f ".deps/tping.Tpo" ".deps/tping.Po"; else rm -f
> ".deps/tping.Tpo"; exit 1; fi
> icc: Command line remark: option '-MP' not supported
> /bin/sh ../../libtool --mode=link icc -O3 -w1 -pthread -w1 -o tping
> tping.o ../../share/liblam.la -lutil mkdir .libs
> icc -O3 -w1 -pthread -w1 -o tping tping.o ../../share/.libs/liblam.a -lutil
> gmake[2]: Leaving directory
> `/tmp_mnt/netDISKS/master/netmt/LINUX_X86/rnd/lam/lam-7.0.6/otb/tping'
>
> I found this code in config/depcomp:
>
> case "$depmode" in
> gcc3)
> ## gcc 3 implements dependency tracking that does exactly what
> ## we want. Yay! Note: for some reason libtool 1.4 doesn't like
> ## it if -MD -MP comes after the -MF stuff. Hmm.
> "$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
> stat=$?
> if test $stat -eq 0; then :
> else
> rm -f "$tmpdepfile"
> exit $stat
> fi
> mv "$tmpdepfile" "$depfile"
> ;;
>
> There is a case for icc later on in this section, so fixing the
> detection of icc vs. g++ might help here, too.
This is fixed in a newer Automake release.
Regards,
Ralf
|