On 02/09/15 14:50, Backeljauw Franky wrote:
Hi Ward,

And what about these M4 modules:

M4/1.4.17
M4/1.4.17-GCC-4.9.3-binutils-2.25
M4/1.4.17-GNU-4.9.3-2.25

I guess the first one can go (since it’s just a dependency to build 
binutils/2.25 as you mentioned below), but what’s the difference between 
GCC-4.9.3-binutils-2.25 and GCC-4.9.3-2.25?

It should be safe to remove all the ones that are build-only (not runtime) dependencies for binutils/2.25 or binutils/2.25-GCC-4.9.3-binutils-2.25, i.e.:

Bison/3.0.4
Bison/3.0.4-GCC-4.9.3-binutils-2.25
flex/2.5.39
flex/2.5.39-GCC-4.9.3-binutils-2.25
M4/1.4.17
M4/1.4.17-GCC-4.9.3-binutils-2.25
zlib/1.2.8
zlib/1.2.8-GCC-4.9.3-binutils-2.25

You can also remove binutils/2.25 itself, since that's just there as a build dep for GCC/4.9.3-binutils-2.25

Maybe we should have an easy way of marking stuff that are only build dependencies in the output of --dry-run, or maybe even to automagically remove stuff that is only a build dep.

There is no GCC/4.9.3-2.25, but there is GNU/4.9.3-2.25.
The latter is a small toolchain that basically just consists of binutils+GCC that were bootstrapped on top of each other. So, GCC/4.9.3-2.25 (which is GCC 4.9.3 built on top of binutils 2.25) is a part of GNU/4.9.3-2.25, next to binutils/2.25-GCC-4.9.3-binutils-2.25 (i.e. binutils built with GCC 4.9.3 which was built on top of binutils 2.25).

The intention of all of this is to obtain a GCC+binutils combo that is not tied to what the OS provides.


regards,

Kenneth

— Franky



Op 2-sep.-2015, om 14:42 heeft Ward Poelmans <ward.poelm...@ugent.be> het 
volgende geschreven:

On Wed, Sep 2, 2015 at 2:39 PM, Backeljauw Franky
<franky.backelj...@uantwerpen.be> wrote:
I’m wondering: why do I have both binutils/2.25 and 
binutils/2.25-GCC-4.9.3-binutils-2.25 (the same for Bison, flex, M4, zlib)?
Are the non-GCC-versions actually used, or are they just dependencies needed to 
built the GCC-versions?
binutils/2.25 is build with the system compiler and used to bootstrap
GCC. After that we build binutils/2.25-GCC-4.9.3-binutils-2.25 and use
it. Bison & co are deps needed to build binutils.

In principle, you can delete binutils/2.25 (and deps).

Ward

Reply via email to