This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: distributing gnu runtime libs


Hi Fox,

The rpath option is the solution often used.

The other approach can be seen in Microsoft's Internet Explorer for Unix.  A
shell script that sets LD_LIBRARY_PATH and any other necessary environment
variables, and then launches the executable.  The "private" libraries are
stashed in a local (to the application) resource subdirectory.  For
libraries, the convention is <yourapp>/lib directory.

--Eljay


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]