Le 27/02/2014 20:26, akhiezer a écrit :
>> Date: Thu, 27 Feb 2014 18:28:29 +0100
>> From: Pierre Labastie <pierre.labas...@neuf.fr>
>> To: LFS Developers Mailinglist <lfs-dev@linuxfromscratch.org>
>> Subject: Re: [lfs-dev] gcc pass 1/2 instructions re mpfr/gmp/mpc.
>>
>       .
>       .
>>>
>> There is something I cannot understand, which is "if libgmp is not 
>> installed on the host". This cannot happen, 
> 
> 
> The installer essentially 'just' installs ready-made tarballs; and the
> tarballs can be installed ~entirely independently of each other; and you
> can choose which tarballs to install - again, at ~complete liberty to
> pick'n'choose what you want; the usual way is via the 'tagfiles' option
> in the installer.
> 

Oops, sorry for bad wording. Of course, you can install gcc without the other
libraries, but the compiler cannot compile anything: the compilation stage
(cc1) cannot run without all three libraries. Hum, cc1 is installed in
/usr/libexec/i486-slackware-linux/4.7.1, so I realize that I have installed a
32 bit version of Slackware [beginner error, I looove learning :-( ]. Anyway,
I am almost sure that the lib{gmp,mpfr,mpc} dependency is the same on x86_64.
Though there may be some added complexity due to the lib{,64} "duality"...
With what I have installed up to now (I wanted to reproduce Hazel Russman's
results, so I have installed a small part of the distro. Needs to be
completed...):
------------------------
bash-4.2# ldd /usr/libexec/gcc/i486-slackware-linux/4.7.1/cc1
        linux-gate.so.1 (0xf776d000)
        libmpc.so.2 => not found
        libmpfr.so.4 => not found
        libgmp.so.10 => /usr/lib/libgmp.so.10 (0xf7703000)
        libdl.so.2 => /lib/libdl.so.2 (0xf76fe000)
        libz.so.1 => /lib/libz.so.1 (0xf76e7000)
        libm.so.6 => /lib/libm.so.6 (0xf76bb000)
        libc.so.6 => /lib/libc.so.6 (0xf7536000)
        /lib/ld-linux.so.2 (0xf776e000)
-------------------------
So something must be wrong when Hazel Russman said she had not installed gmp.
She surely could run gcc. Maybe there is a fallback when gmp is not there? I
have now to get a 64 bit Slackware and start testing...

@akh, thanks for the indications on how to use Slackware. It'll save much time.

Pierre
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to