On Tue, Feb 12, 2019 at 09:49:23AM +0000, Jonathan Wakely wrote:
> On that basis, why does gcc-c++ install libgomp and libgfortran?

I think gcc-c++ doesn't require libgfortran, gcc-gfortran does.

The reason to have libgomp in the dependencies was that it is a library that
isn't explicitly used on the command line, while to link against libatomic
you need to specify -latomic and so, like for any other random library you
need to make sure that the library is installed, one doesn't need to specify
-lgomp, simply linking with -fopenmp needs that library.

Though, I admit that the sanitizer libraries behave like libgomp, yet they
aren't required by default (on the other side, those are development
instrumentation libraries).

> libatomic might be needed for some uses of std::atomic, but nothing in
> ISO C++ requires OpenMP or Fortran.

        Jakub
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to