Broken ProgramTargetName () when !CrossCompiling

Harold Hunt huntharo@msu.edu
Tue Sep 25 19:11:00 GMT 2001


Alan,

In regards to xc/config/cf/cygwin.rules 3.13->3.14.

I see no reason for the wrapping ProgramTargetName () in
xc/config/cf/cygwin.rules with !CrossCompiling.

We have always, as long as I have been with the project, concatenated .exe
onto the program target name.  That is to say, the rule was appending .exe
long before anyone had even thought of cross compiling.

Now I get fun errors like the following when building:

+ mv -f XWin XWin.bak
mv: preserving times for `XWin.bak': No such file or directory
mv: cannot unlink `XWin': No such file or directory
mv: cannot remove `XWin': No such file or directory
make: [XWin] Error 1 (ignored)

Furthermore, 'make XWin.exe' doesn't work, which invalidates the 'make'
commands I gave in the Contributor's Guide:
make: Nothing to be done for `XWin.exe'.

Please present a rock solid case for the !CrossCompiling wrapper, or remove
it.

Thanks,

Harold



More information about the Cygwin-xfree mailing list