Broken ProgramTargetName () when !CrossCompiling

Alan Hourihane alanh@fairlite.demon.co.uk
Wed Sep 26 05:06:00 GMT 2001


Harold,

Don't you remember this thread about how xc/config/util is appending too
many .exes - things are becoming 'xmkmf.exe.exe' etc ?

Check the archives around 16th August.

Alan.

On Tue, Sep 25, 2001 at 10:11:30PM -0400, Harold Hunt wrote:
> 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