This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Broken ProgramTargetName () when !CrossCompiling
- To: "Alan Hourihane" <alanh at xfree86 dot org>, "cygx" <cygwin-xfree at cygwin dot com>
- Subject: Broken ProgramTargetName () when !CrossCompiling
- From: "Harold Hunt" <huntharo at msu dot edu>
- Date: Tue, 25 Sep 2001 22:11:30 -0400
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