This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: configure and intel's C++: inappropriate flags -MT -MD -MP -MF
- From: Braden McDaniel <braden at endoframe dot com>
- To: Alexandre Duret-Lutz <duret_g at lrde dot epita dot fr>
- Cc: automake at gnu dot org
- Cc: Markus Werle <numerical dot simulation at web dot de>
- Date: Sat, 21 Dec 2002 19:30:12 -0500
- Subject: Re: configure and intel's C++: inappropriate flags -MT -MD -MP -MF
- Organization: Endoframe
- References: <3E030E5E.5A13D97@web.de><2002-12-20-21-17-32+15565+duret_g@lrde.epita.fr>
On Fri, 2002-12-20 at 15:17, Alexandre Duret-Lutz wrote:
> >>> "Markus" == Markus Werle <numerical.simulation@web.de> writes:
>
> Markus> Hi!
> Markus> I have a problem with the latest autotools:
>
> Markus> From somewhere behind the scenes automake/autoconf
> Markus> decides to insert the following options to the compiler
> Markus> flags; -MT -MD -MP -MF
>
> depcomp adds these options, and ./configure makes the decision
> based on the compiler found (or that you specified).
>
> ./configure prints something like `checking dependency style of XXX'
> at this point.
>
> Markus> these are not recognized, say ignored ith annoying warnings by
> Markus> intel's C++ 7.0. Any idea how to remove these via
> Markus> configure.in or Makefile.am?
>
> Maybe your are not setting the compiler early enough? Since
> ./configure decides which flags to use it must know the
> compiler. Therefore you should run
>
> ./configure CC=mycc; make
>
> not
>
> ./configure; make CC=mycc
I've observed this problem, too; and, yes, I'm configuring with CC set.
However, I'm using autoconf 2.53/automake 1.6.3.
--
Braden McDaniel e-mail: <braden@endoframe.com>
<http://endoframe.com> Jabber: <braden@jabber.org>