Hi Stepan,

Stepan Kasal wrote:
> 
> I looked at /usr/share/automake-1.9/compile and I cannot understand
> how this could happen.
> I think that the parametr to compile should look like
>       some/path/main.c
> which becomes cfile, and then cofile is assigned as
> 
> cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
> 

Please check depend2.am. For the Windows compiler it
uses $(CYGPATH_W) to convert the source file pathname
even before 'compile ${CC}' is run. Currently I am looking
into the Windows part of the VPATH patch, so I had sent you
a strange compiler command line including the VPATH patch
of yesterday. But $(CYGPATH_W) is used by the unmodified
depend2.am, too.


Regards

Harri


Reply via email to