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]

Re: Strange Behavior with compiling


Hello, Pete!

First of all, you didn't mention the version of Automake which you are
using.

> I can't see what's wrong with the compile command.  In fact, if I cut
> and paste the "c++ -D..." line above at a shell prompt everything works
> out fine.

Automake must be concealing some details. Write a wrapper around c++
recording the commands actually used.

#!/bin/sh
echo "$@" >>~/my_log
/usr/bin/c++ "$@"

Most likely, there are hidden switches to generate dependencies, which are
interpreted incorrectly by your compiler.

This ought to be interesting to Automake developers.

Pavel Roskin


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