Hi Alan,

> -----Original Message-----
> From: Alan W. Irwin [mailto:[email protected]]
>
> That was my guess as well, but it appears from the results above that the 
> autotools-
> based build system for Tcl independently detects the Cygwin platform and 
> demands
> you use the win subdirectory in that case.
>
> Therefore here is my guess for what might work:
>
> Current logic in tcl/CMakeLists.txt
>
> if(MSYS_PLATFORM)
>    set(source_PATH ${source_PATH}\unix)
> else(MSYS_PLATFORM)
>    set(source_PATH ${source_PATH}/unix)
> endif(MSYS_PLATFORM)
>
> ==>
>
> if(MSYS_PLATFORM)
>    set(source_PATH ${source_PATH}\\win)
> elseif(CYGWIN)
>    set(source_PATH ${source_PATH}/win)
> else
>    set(source_PATH ${source_PATH}/unix)
> endif(MSYS_PLATFORM)
>
> That first change to \\win is irrelevant to you since MSYS_PLATFORM is OFF, 
> but
> nevertheless that is my guess for what might work in the MinGW/MSYS case.
>
> Of course, for both the MinGW/MSYS and Cygwin platforms we are both guessing
> here because we are both unfamiliar with the autotools build for Tcl on 
> either of those
> platforms, but the above change is worth a try.
>

I have tried building Tcl manually by first configuring and making the win 
directory as
suggested in the error message, but I ended up having to change the generated 
Makefile,
as the ./configure script insisted on setting the C compiler to 
"x86_64-w64-mingw32-gcc"
and similarly for other tools.

Then I ran into a compile error with a type TCHAR. I remember having similar 
trouble
before. This is something peculiar to Cygwin, I am afraid. I will leave this 
for the moment
and see what other things pop up with other targets.

Regards,

Arjen
DISCLAIMER: This message is intended exclusively for the addressee(s) and may 
contain confidential and privileged information. If you are not the intended 
recipient please notify the sender immediately and destroy this message. 
Unauthorized use, disclosure or copying of this message is strictly prohibited. 
The foundation 'Stichting Deltares', which has its seat at Delft, The 
Netherlands, Commercial Registration Number 41146461, is not liable in any way 
whatsoever for consequences and/or damages resulting from the improper, 
incomplete and untimely dispatch, receipt and/or content of this e-mail.

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to