On 2015-05-22 07:52:38 +0300, Sergey Korshunoff wrote: > > I wonder whether something can be improved on the tcc side > > The problem is that the MPFR library used at run time is not > > ../src/.libs/libmpfr.so but the one installed on the system. > > What the difference between gcc and tcc in this case? Why exe produced > by gcc use ./src/.libs/libmpfr.so and exe produced by tcc use one > installed on the system?
With gcc, the run path is used with: -Wl,-rpath -Wl,/home/vlefevre/software/mpfr/src/.libs So, I assume that this is only a libtool bug, as libtool should generate that too (this seems to work when I add that manually). -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel