This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Broken ProgramTargetName () when !CrossCompiling
- To: Harold Hunt <huntharo at msu dot edu>
- Subject: Re: Broken ProgramTargetName () when !CrossCompiling
- From: Alan Hourihane <alanh at fairlite dot demon dot co dot uk>
- Date: Wed, 26 Sep 2001 13:08:26 +0100
- Cc: cygx <cygwin-xfree at cygwin dot com>
- References: <NHEELHJHHFKPMAEAFMFCCEIHCJAA.huntharo@msu.edu>
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