> 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.


> unless gcc is linked 
> statically (which is not the case for Slackware 14.0, I just checked), 
> since cc1 uses libgmp. Maybe something goes wrong when a kind of 
> libgmp-dev (with pkg-config stuff) is installed, and "stupid libtool (or 
> pkg-config)" finds something it shouldn't.


I wouldn't think so, given the above re independent-package
installations. But, I'd need to double-check the install script for e.g. gcc
package, to see if it auto-pulls anything in (ref below for links).


> I cannot replicate in any case (with or without libgmp-dev) for Debian 
> or Suse. Since I am new to Slackware, I need to figure out what 
> libgmp-dev equivalent is (if it exists).


There's not a separate '-dev' package per se, at least not like how some
distros split things up.


Ready-made tarballs:
--
ftp://ftp.slackware.no/slackware/slackware64-14.0/slackware64/
  gcc is under d/
  mpfr/gmp/libmpc are under l/  # NB the 'lib' in the mpc name.
--

Those tarballs are generated (by upstream - not e.g. at install time;
they're just avail for ref) via the '.SlackBuild' scripts that are under:
==
ftp://ftp.slackware.no/slackware/slackware64-14.0/source/
  gcc is under d/
  mpfr/gmp/libmpc are under l/  # NB the 'lib' in the mpc name.
==
In each package's '/source/' dir, the '${pkg_name}.SlackBuild' script is
the central reference - all of the other materials in the dir are pulled
in from it.



rgds,
akh



>
> Pierre
>
>


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

Reply via email to