Re: [Xcircuit-dev] Compiling 3.4 under WinXP & Cygwin (again) - Solution
Brought to you by:
rtedwards
From: James V. <jam...@nt...> - 2005-10-15 17:58:44
|
For the benefit of the archives, here's the solution: >> gcc -g -O2 -fPIC -o lib/tcl/xcircuit.dll -shared >> -Wl,--enable-auto-image-base -Wl,-rpath,/opt/lib - >> Wl,--version-script=symbol.map xcwrap.o \ >> elements.o events.o filelist.o files.o flate.o fontfile.o formats.o >> functions.o graphic.o >> help.o keybindings.o libraries.o menucalls.o netlist.o ngspice.o >> opengl.o parameter.o python.o >> rcfile.o render.o schema.o selection.o text.o undo.o tclxcircuit.o >> tkSimple.o tkPixmap.o xcircuit.o -L/usr/X11R6/lib \ >> -lc -lltdl -lz -lXt -lSM -lICE -lX11 -lXpm -lm \ > > The links to the Tcl libraries are missing from the compile line. Try > this: edit the makefile, and change: > > SHLIB_LIB_SPECS = > > to: > > SHLIB_LIB_SPECS = -L/opt/lib -ltcl8.4 -ltk8.4 > > I'm not sure why these didn't get added during "configure", because > that is supposed to happen under Cygwin. Thanks again Tim, that's worked nicely. James |