notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
All times are UTC
non port: lang/gcc8/files/patch-gfortran-libgcc

Number of commits found: 1

Mon, 15 Apr 2019
[ 23:08 gerald search for other commits by this committer ] Original commit   Revision:499061
GCC has two runtime libraries:  The static library libgcc.a (-lgcc) and
the shared library (-lgcc_s).  Both implement many of the
same functions but they also each have their unique functions.  When
GCC links programs and libraries there are three possibilities:

1. gcc -static-libgcc or gcc -static: -lgcc
   => Just use libgcc.a.

2. gcc -shared-libgcc: -lgcc_s -lgcc
   => Link with libgcc_s first, so libgcc.a is only used for its unique

3. gcc: -lgcc -Wl,--as-needed -lgcc_s -Wl,--no-as-needed
   => Link with libgcc.a first so libgcc_s is only used for its unique
      functions (_Unwind_* functions).
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 1