tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Vincent Lefevre
Subject: Re: [Tinycc-devel] shared libraries and run-time path issues
Date: Fri, 22 May 2015 10:51:47 +0200
User-agent: Mutt/1.5.23-6449-vl-r76280 (2015-05-18)

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 <address@hidden> - 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]