Re: Shared gmp (and friends)

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

 



On Fri, Mar 28, 2014 at 11:14 AM, Jonathan Wakely <jwakely.gcc@xxxxxxxxx> wrote:
> On 28 March 2014 09:51, Christer Solskogen wrote:
>> Hi!
>>
>> I've installed all the prerequisites for GCC, and all of them install both a
>> static library and a shared library. However, GCC still choose to link to the
>> static library and not the shared one. How come?
>
> Not enough information to answer.
>
> How did you install them? Where did you install them? How did you configure GCC?

The "normal" ./configure && make && make install for gmp,mpfr and mpc.
--prefix was set to /opt/custom, LD_LIBRARY_PATH was exported to
/opt/custom/lib.
But I've only checked the ldd output of the gcc binary. Perhaps 'gcc'
is not linked to those libraries, but cc1 is? Hmm.. will check that.

-- 
chs




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux