Re: Remove gcc, gcc-c++ and make from minimal build root

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

 



Dne 13.1.2015 v 18:09 Vít Ondruch napsal(a):
> Dne 13.1.2015 v 17:54 Vít Ondruch napsal(a):
>>>> So lets try to find what is written in C/C++ by some different way. Is
>>>> that true, that every package in C/C++ compiled using gcc depends on
>>>> glibc? Then we can use this query to get the number of packages:
>>>>
>>>> $ repoquery --source --whatrequires 'libc.so.6(GLIBC_2.4)(64bit)' | sort
>>>> | uniq | wc -l
>>>> 2834
> The additional sed should remove the duplicated versions:
>
> $ repoquery --source --whatrequires 'libc.so.6(GLIBC_2.4)(64bit)' | sort
> -u | sed -r 's/(.*)-.*-.*/\1/' | uniq | wc -l
> 2645
>

And the wildcard in libc makes the difference :) So these seems to be
numbers for Rawhide:

$ repoquery --disablerepo=* --enablerepo=rawhide --source --whatrequires
'libc.so.6*' | sort -u | sed -r 's/(.*)-.*-.*/\1/' | uniq | wc -l
7402

$ dnf repoquery --disablerepo=* --enablerepo=rawhide-source --arch src
'*' | wc -l
16230

I.e. 45.6 % of packages seems to be written in C/C++


Vít


-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux