[Gambas-user] linked project-files

Christof Thalhofer chrisml at deganius.de
Sun Dec 3 17:28:51 CET 2017


Am 03.12.2017 um 16:38 schrieb PICCORO McKAY Lenz:
> the problem with libraries, they must be in specific path, no one of the
> finding methods include a relative path search

Why should this be a problem?

If I write a project which uses a library, the interpreter knows where
to look for it. Either in

~/.local/share/gambas3/lib/$vendor

or in

/usr/lib/gambas3/$vendor

And that's all. If I deploy a project and libraries to other systems I
am always sure that the libs will be found by the interpreter. There are
also namespaces due to the use of $vendor.

Search in relative paths would instead decrease stability as I cannot be
really sure what is in ../../anylibpath (for example) if my project runs
on another computer.


Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20171203/a53e6bf7/attachment.sig>


More information about the User mailing list