On Wed, 29 Mar 2000, Marc wrote:

> your're right. I introduced the extra target originally; I'm not sure this
> is a good solution, though (slows the compilation down). IMHO we ("we" in
> the sense of "Xerces" at large) should try
> to compile everything directly into the /obj directory and forget about
> copying *.o files and stuff but I'd consider this a major change.

Don't know about other machines, but with my Octane and regular
overloaded NFS, copying isn't much faster than recompiling!

> I'll try to figure out how to do this via the Makefiles; i.e. so that the
> sources remain unchanged.
> BTW, you can always do something like
> 
> export LD_LIBRARYN32_PATH=whatever
> export LD_LIBRARY_PATH=$LD_LIBRARYN32_PATH: etc
>
> --IMO this isn't very elegant but avoids hard-coding the pathnames.

This would be a good idea as SGIs have a tendency to be able
to find libraries even if they aren't in the library path because the path
name is coded into the binary when it is built (or something like that).
Therefore it is possible that someone might be able to run a binary with
xerces linked from a non-standard place and without LD_LIBRARY*_PATH
being set. In this case, rld will find xerces.so but the binary
will die because the xerces DLL can't find its path.  A #define stemming
from the Makefile or somewhere similar would make sense I think.

- Matthew

--
Dr. Matthew Baker           [EMAIL PROTECTED]
GMD - FIT.MMK               http://fit.gmd.de/hci/pages/matthew.baker.html


Reply via email to