Re: [Tinycc-devel] shared libraries and run-time path issues

2015-05-21 Thread Sergey Korshunoff
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

[Tinycc-devel] shared libraries and run-time path issues

2015-05-21 Thread Vincent Lefevre
I've reported the following problem for libtool 2.4.6: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20622 but I wonder whether something can be improved on the tcc side (except by using static linking, which works). When I build GNU MPFR with CC=tcc LD=tcc and do make check, I get things