[fpc-pascal] Something like TProcess.Environment for libraries ?

fredvs fiens at hotmail.com
Sun Jan 29 23:24:41 CET 2017


Hello.

After googling, I found that it is possible to use a parameter for the
linker:
http://stackoverflow.com/questions/2726993/how-to-specify-preference-of-library-path

For a c program:

"Use the rpath option via gcc to linker - runtime library search path, will
be used instead of looking in standard dir (gcc option):
-Wl,-rpath,$(DEFAULT_LIB_INSTALL_PATH)"

Could it be possible to fpc to use that option while linking ?

Thanks.

Fre;D





-----
Many thanks ;-)
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Something-like-TProcess-Environment-for-libraries-tp5727468p5727499.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list