Re: gcc-c++ and libatomic -- link issues

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

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [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