Re: treecc compilation under Mingw...

"Aleksey Demakov" <[email protected]> Sat, 10 Jun 2006 21:33:25 +0700
Newsgroups gmane.comp.gnu.dotgnu.developer
Message-ID <[email protected]>
Hi Bikram,

> I believe I need to modify the following section in the 'configure'
> generated makefile:
> -------
> # FIXME: We should only use cygpath when building on Windows,
> # and only if it is available.
> .c.obj:
>  $(COMPILE) -c `cygpath -w $<`
>
> .s.o:
>  $(COMPILE) -c $<
>
> .S.o:
>  $(COMPILE) -c $<
> -------
>
> But I could not figure out how to make it work, it would be great if I could
> get some help in resolving this issue.
>

It looks like this code is generated automatically from automake built-in
macros. Actually automake uses the CYGPATH_W  variable and configure
substitutes it with "cygpath -w" if it finds it. So perhaps there is cygpath
somewhere in your PATH.

Ragards,
Aleksey