[cable] Minor Web Corrections

Brad King brad.king at kitware.com
Thu Mar 13 18:02:49 EST 2003


Hi Anton,

> I just started with Cable and GCC_XML.  There are a few minor mistakes
> on the web page http://public.kitware.com/Cable/HTML/Examples.html:

Fixed.  Thanks.

> Also, to be able to load my own .so file in TCL, I had to modify the
> LD_LIBRARY_PATH env. variable to include /usr/local/lib/Cable.  I guess
> this might depend on the OS/shell.

You can add an rpath to your shared library to avoid this need.
When linking your library, add

  -Wl,-rpath=/usr/local/lib/Cable

and it will build the path into the .so for your package.  The exact
option for an rpath differs from platform to platform, but CMake will do
it for you if you use that to build your project.

> Finally, for gxx_xml, all the build commands assume that the current
> version is 0.4.0, not 0.4.2.  (in http://www.gccxml.org/HTML/Install.html).

Also fixed, thanks.

> Besides that, Cable seems great and it was fairly easy to install.

Great.  Have fun using it.

-Brad




More information about the cable mailing list