Hello Satya,

> 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.

> -       SHDLIB_EXT=".dll"
> +       SHDLIB_EXT=".dll.a"

This looks like it's turning a shared object (dynamic load) library
(.dll) into a static library (.a).  It suggests that the linker flag
"-shared" is being ignored in the original case.  Or are you having
problems at run-time?  I know that Cygwin does not recognize the
"-Wl,-rpath,..." argument to the linker.  To get a program to find
any .dll files it needs at run-time, it is necessary to do

        export PATH=${PATH}:/usr/local/lib

(The path to the .dll file should be given;  /usr/local/lib is the
default path for the Tcl/Tk DLLs.)

                                                ---Tim

+--------------------------------+-------------------------------------+
| Dr. R. Timothy Edwards (Tim)   | email: [email protected]    |
| Open Circuit Design, Inc.      | web:   http://opencircuitdesign.com |
| 22815 Timber Creek Lane        | phone: (301) 528-5030               |
| Clarksburg, MD 20871-4001      | cell:  (240) 401-0616               |
+--------------------------------+-------------------------------------+
_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev

Reply via email to