Skip to content
Tcl Source Code View Ticket
Login

View Ticket

fix for build under cygwin

Closed / Out of Date1726059fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 19 years ago
Descriptionplain2007-05-26 11:23:12
This patch fixes a broken build under cygwin.

Note aside (may be irrelevant):
I am using a cygwin environment in which I use a self-installed MinGW toolchain, i.e. I am NOT using the cygwin supplied toolchain.

When doing ./configure && make

The build breaks because make receives an unusable include directive on the command line: -I"./"
This directive results from $(WIN_DIR_NATIVE), which in turn results from WIN_DIR.

The issue is easily fixed by the following replacement in Makefile.in:

- WIN_DIR = @srcdir@
+ WIN_DIR = @srcdir@/../win
dkf Ticket [1726059fff]: 2 changes [History diff]2007-05-26 19:16:51
eriklnsplain2007-05-26 20:23:01
Logged In: YES 
user_id=113903
Originator: YES

I wrote:

The build breaks because make receives an unusable include directive on the
command line: -I"./"

But I meant:

The build breaks because gcc receives an unusable include directory on the
command line: -I"./"

Duh!
eriklnsplain2007-05-28 02:27:24
Logged In: YES 
user_id=113903
Originator: YES

After having upgraded my cygwin installation, the original problem has disappeared. The new cygwin version (1.5.24-2) holds a new cygpath program, which produces a correct path from $(WIN_DIR_NATIVE), instead of a flawed "./"

Therefore, my fix appears to be not necessary anymore.
hobbs Closed ticket [1726059fff]. [History diff]2007-06-13 03:03:59
Log in (anonymous is fine) to add a comment.