Thomas:

I understand what the patch is doing, but I am not clear what problem it is
trying to solve. Is the idea to determine SystemDirs at run time based on
the install location of bitcc?

If so, this is not the correct way to go about it, because /proc is not
universally available. What I think you want to be doing here is calling
realpath() on the value of argv[0].

But there is a larger problem here, which is that --system does not *preempt
* the standard search directories; it merely adds something in front of
them. If bitcc is installed in /usr/mumble/bin rather than /usr/bin, then we
need to append /usr/mumble to SystemDirs even if the user used --system.

So first, do I understand correctly what you are attempting to do here?

And if so, should this be done dynamically, or should it be done at
configure time? Is the goal to make the bitcc package relocatable? I think
that would be good, I just want to make sure that we solve the right problem
here.

I don't need a new patch -- it's pretty clear what to do. I just want to
confirm the objective before making any change here.
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to