This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Strange Behavior with compiling
- To: Pete Willemsen <willemsn@cs.uiowa.edu>
- Subject: Re: Strange Behavior with compiling
- From: Pavel Roskin <pavel_roskin@geocities.com>
- Date: Tue, 22 Jun 1999 15:42:40 +0400 (EEST)
- cc: automake@gnu.org
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