On Tue, Mar 1, 2011 at 8:19 AM, Satya Narayan Mishra <[email protected]> wrote:
> Hi Ruida,
>
> I can provide a bit more updated instructions on Xcircuit on Cygwin. It has
> become a lot easier now that Cygwin-ports provides a good X11 Tcl/Tk. I am
> writing this from memory, so please excuse me if some detail is missing.
>
> Please follow instructions on http://sourceware.org/cygwinports/ to install
> the X11 Tcl and Tk packages version 8.5 . The version 8.4 packages from the
> main Cygwin repository use the Windows API. Cygwin package management is
> very basic and sometimes does not detect the conflict between the two
> packages. Please ensure the 8.4 Windows version removed before installing
> the 8.5 X11 version.
>
> After that the regular ./configure && make && make install should work.
>
I just rebuilt xcircuit. I had missed that the configure.in needs to
be tweaked for working on cygwin. The following patch, followed by
autoreconf -fiv seems to do the trick for me.
--- configure.in.old 2011-05-09 09:53:50.264571800 -0700
+++ configure.in 2011-05-09 09:54:10.436188600 -0700
@@ -689,7 +689,7 @@
SHDLIB_EXT=".sl"
;;
*cygwin*)
- SHDLIB_EXT=".dll"
+ SHDLIB_EXT=".dll.a"
;;
*-darwin*)
SHDLIB_EXT=".dylib"
@@ -916,7 +916,7 @@
*cygwin*)
AC_DEFINE(CYGWIN)
- SHDLIB_EXT=".dll"
+ SHDLIB_EXT=".dll.a"
LDDL_FLAGS="-shared -Wl,--enable-auto-image-base
-Wl,-rpath,${loader_run_path}"
SHLIB_LIB_SPECS="${LIB_SPECS}"
;;
_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev