Allan Duncan <[email protected]> writes:
>> So, apt-get install libtool cpp/jessie [...]
>> Presumably you're on raspbian, where this may not be an option.
>> I recommend you use the default cpp that your release ships, and stop
>> pining for newer versions.
>
> [Raspbian wheezy] provides me with a choice of
> cpp -4.6, -4.7 and -4.8
It's providing cpp-4.8 but the standard cpp of raspbian wheezy is
(apparently) 4.6, the same as Debian wheezy. Debian is not set up to
allow you to *only install* 4.8 when the default is 4.6.
AFAIK there is no standard way to make it the default, though I suppose
you could do something like this in your .profile:
export CC=gcc-4.8 CPP=cpp-4.8 CXX=g++-4.8 # et cetera
If you're going to just override the symlinks provided by the
metapackages (e.g. "cpp"), you'll want to dpkg-divert the originals
away, otherwise a security upgrade will reset them.
> I would prefer to run with 4.8 as I have it everywhere else.
IMO that is inadequate justification.
If you really insist, try using equivs to lie to the package manager by
providing a stub like
Package: daft
Section: metapackages
Provides: cpp-4.6, gcc-4.6, g++-4.6 # et cetera
I *think* it won't actively blow up in your face unless you are building
kernel stuff (e.g. dkms), which AIUI is finicky about getting the same
gcc stack throughout.
_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main