These GCC 13.2 static runtime archives support Sesum's portable macOS x86_64
builds with deployment target 10.15.  The installed Homebrew archives were
built for macOS 13.0, so using them would make a nominal 10.15 wheel depend
on objects from a newer deployment target.

Host:
  x86_64, macOS 13, x86_64-apple-darwin22.0.0
  Homebrew GCC/G++/GFortran 13.2.0
  SDK /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk

Source:
  https://ftp.gnu.org/gnu/gcc/gcc-13.2.0/gcc-13.2.0.tar.xz
  SHA256 e275e76442a6067341a27f04c5c6b83d8613144004c0413528863dc6b5c743da
  Official, unmodified GCC 13.2.0 sources were used.

Common reproducibility environment:
  MACOSX_DEPLOYMENT_TARGET=10.15
  SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk
  CC=/usr/local/bin/gcc-13
  CXX=/usr/local/bin/g++-13
  CFLAGS=-O2 -isysroot $SDKROOT -mmacosx-version-min=10.15
  CXXFLAGS=-O2 -isysroot $SDKROOT -mmacosx-version-min=10.15
  LDFLAGS=-isysroot $SDKROOT -mmacosx-version-min=10.15
  CFLAGS_FOR_TARGET=-O2 -fPIC -isysroot $SDKROOT -mmacosx-version-min=10.15
  CXXFLAGS_FOR_TARGET=-O2 -fPIC -isysroot $SDKROOT -mmacosx-version-min=10.15
  LDFLAGS_FOR_TARGET=-isysroot $SDKROOT -mmacosx-version-min=10.15

Top-level configure:
  configure
    --prefix=<isolated-install-prefix>
    --with-sysroot=$SDKROOT
    --enable-languages=c,c++
    --disable-bootstrap --disable-multilib --disable-nls
    --enable-checking=release --disable-werror
    --disable-libsanitizer --disable-libvtv --disable-libquadmath
    --disable-libstdcxx-pch
    --with-gmp=/usr/local/opt/gmp
    --with-mpfr=/usr/local/opt/mpfr
    --with-mpc=/usr/local/opt/libmpc
    --with-isl=/usr/local/opt/isl
    --with-zstd=/usr/local/opt/zstd
    --with-system-zlib
    --program-suffix=-13-catalina
    --with-pkgversion="Sesum GCC 13.2.0 macOS 10.15 runtime"

Build and isolated installation:
  make -j4 MAKEINFO=true all-gcc all-target-libgcc \
    all-target-libstdc++-v3 all-target-libgomp
  make -j4 MAKEINFO=true install-target-libgcc \
    install-target-libstdc++-v3 install-target-libgomp

The C/C++-only GCC configuration does not create libgomp's Fortran OpenACC
wrapper.  To retain the complete reference member set, openacc.f90 was
compiled with the matching /usr/local/bin/gfortran-13 using -O2 -fPIC,
-isysroot $SDKROOT and -mmacosx-version-min=10.15.  The resulting openacc.o
was added with ar -r and indexed with ranlib.  Its 103 global symbols exactly
match the installed GCC 13.2.0 reference member.

Results:
  libgomp.a
    SHA256 f68d2ea2f790024a76b2c696eec9691696323ac8073f1e62feba3114955c0844
    443720 bytes; 46 x86_64 object members; all minos 10.15
  libstdc++.a
    SHA256 c6bd497dcee7197ac866ae1f84f4d9ab6781038ac7a297f4691a950a180ff806
    3898576 bytes; 188 x86_64 object members; all minos 10.15

The sorted real member-name lists exactly match the installed GCC 13.2.0
reference archives.  A C++17 smoke test using std::vector, std::string and an
OpenMP reduction ran with four threads, returned the expected result, linked
without newer-macOS warnings, reported minos 10.15, and depended dynamically
only on libSystem.

GNU libgomp and libstdc++ are distributed under GPLv3 with the GCC Runtime
Library Exception.
