Skip to content

Commit

Permalink
Change (base) name to gcc13, use --program-suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
direc85 committed Dec 13, 2024
1 parent a81d0ae commit 585fd8f
Show file tree
Hide file tree
Showing 9 changed files with 2,202 additions and 2,192 deletions.
2,089 changes: 2,089 additions & 0 deletions rpm/cross-aarch64-gcc13.spec

Large diffs are not rendered by default.

54 changes: 28 additions & 26 deletions rpm/cross-armv7hl-gcc.spec → rpm/cross-armv7hl-gcc13.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Combined gcc / cross-armv*-gcc) specfile
Name: cross-armv7hl-gcc
Name: cross-armv7hl-gcc13
%define crossarch armv7hl
# Keep Name on top !

Expand Down Expand Up @@ -103,6 +103,7 @@ ExclusiveArch: %ix86 x86_64
# end crossbuild / accelerator section
%endif

%global binsuffix -13
%global gcc_version 13.3.1
%global gcc_release 1
%global _unpackaged_files_terminate_build 0
Expand Down Expand Up @@ -724,6 +725,7 @@ CC="$CC" CFLAGS="$OPT_FLAGS" CXXFLAGS="`echo $OPT_FLAGS | sed 's/ -Wall / /g'`"
--enable-lto \
--enable-linker-build-id \
--disable-libmpx \
--program-suffix=%{binsuffix} \
%if %{bootstrap} == 0
--enable-languages=c,c++${enablelgo},lto \
--enable-threads=posix \
Expand Down Expand Up @@ -1250,8 +1252,8 @@ EOF
chmod 755 %{buildroot}%{_prefix}/bin/c?9

cd ..
%find_lang %{name}
%find_lang cpplib
%find_lang %{name}%{binsuffix}
%find_lang cpplib%{binsuffix}

# Remove binaries we will not be including, so that they don't end up in
# gcc-debuginfo
Expand Down Expand Up @@ -1433,17 +1435,17 @@ end

%files -f %{name}.lang
%defattr(-,root,root,-)
%{_prefix}/bin/cc
%{_prefix}/bin/c89
%{_prefix}/bin/c99
%{_prefix}/bin/gcc
%{_prefix}/bin/gcov
%{_prefix}/bin/gcov-tool
%{_prefix}/bin/gcov-dump
%{_prefix}/bin/gcc-ar
%{_prefix}/bin/gcc-nm
%{_prefix}/bin/gcc-ranlib
%{_prefix}/bin/lto-dump
%{_prefix}/bin/cc%{binsuffix}
%{_prefix}/bin/c89%{binsuffix}
%{_prefix}/bin/c99%{binsuffix}
%{_prefix}/bin/gcc%{binsuffix}
%{_prefix}/bin/gcov%{binsuffix}
%{_prefix}/bin/gcov-tool%{binsuffix}
%{_prefix}/bin/gcov-dump%{binsuffix}
%{_prefix}/bin/gcc-ar%{binsuffix}
%{_prefix}/bin/gcc-nm%{binsuffix}
%{_prefix}/bin/gcc-ranlib%{binsuffix}
%{_prefix}/bin/lto-dump%{binsuffix}
#%ifnarch %%{arm} aarch64 mipsel
#%%{_prefix}/bin/%%{gcc_target_platform}-gcc
#%%{_prefix}/bin/%%{gcc_target_platform}-gcc-ar
Expand Down Expand Up @@ -1759,13 +1761,13 @@ end
%files doc
%defattr(-,root,root,-)
%{_docdir}/%{name}-%{version}
%{_mandir}/man1/cpp.1*
%{_mandir}/man1/gcc.1*
%{_mandir}/man1/gcov.1*
%{_mandir}/man1/gcov-tool.1*
%{_mandir}/man1/gcov-dump.1*
%{_mandir}/man1/g++.1*
%{_mandir}/man1/lto-dump.1*
%{_mandir}/man1/cpp%{binsuffix}.1*
%{_mandir}/man1/gcc%{binsuffix}.1*
%{_mandir}/man1/gcov%{binsuffix}.1*
%{_mandir}/man1/gcov-tool%{binsuffix}.1*
%{_mandir}/man1/gcov-dump%{binsuffix}.1*
%{_mandir}/man1/g++%{binsuffix}.1*
%{_mandir}/man1/lto-dump%{binsuffix}.1*
%{_mandir}/man7/*
# !crossbuild
%endif
Expand All @@ -1790,8 +1792,8 @@ end
%ifnarch %{arm} aarch64 mipsel
%{_prefix}/bin/%{gcc_target_platform}-*++
%endif
%{_prefix}/bin/g++
%{_prefix}/bin/c++
%{_prefix}/bin/g++%{binsuffix}
%{_prefix}/bin/c++%{binsuffix}
%dir %{_prefix}/%{_lib}/gcc
%dir %{_prefix}/%{_lib}/gcc/%{gcc_target_platform}
%dir %{_prefix}/%{_lib}/gcc/%{gcc_target_platform}/%{gcc_version}
Expand Down Expand Up @@ -2001,9 +2003,9 @@ end

%if %{build_go}
%files go
%attr(755,root,root) %{_prefix}/bin/go.gcc
%{_prefix}/bin/gccgo
%attr(755,root,root) %{_prefix}/bin/gofmt.gcc
%{_prefix}/bin/gccgo%{binsuffix}
%{_prefix}/bin/go%{binsuffix}
%{_prefix}/bin/gofmt%{binsuffix}
%{_mandir}/man1/gccgo.1*
%{_mandir}/man1/go.1*
%{_mandir}/man1/gofmt.1*
Expand Down
54 changes: 28 additions & 26 deletions rpm/cross-i486-gcc.spec → rpm/cross-i486-gcc13.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Combined gcc / cross-armv*-gcc) specfile
Name: cross-i486-gcc
Name: cross-i486-gcc13
%define crossarch i486
# Keep Name on top !

Expand Down Expand Up @@ -103,6 +103,7 @@ ExclusiveArch: %ix86 x86_64
# end crossbuild / accelerator section
%endif

%global binsuffix -13
%global gcc_version 13.3.1
%global gcc_release 1
%global _unpackaged_files_terminate_build 0
Expand Down Expand Up @@ -724,6 +725,7 @@ CC="$CC" CFLAGS="$OPT_FLAGS" CXXFLAGS="`echo $OPT_FLAGS | sed 's/ -Wall / /g'`"
--enable-lto \
--enable-linker-build-id \
--disable-libmpx \
--program-suffix=%{binsuffix} \
%if %{bootstrap} == 0
--enable-languages=c,c++${enablelgo},lto \
--enable-threads=posix \
Expand Down Expand Up @@ -1250,8 +1252,8 @@ EOF
chmod 755 %{buildroot}%{_prefix}/bin/c?9

cd ..
%find_lang %{name}
%find_lang cpplib
%find_lang %{name}%{binsuffix}
%find_lang cpplib%{binsuffix}

# Remove binaries we will not be including, so that they don't end up in
# gcc-debuginfo
Expand Down Expand Up @@ -1433,17 +1435,17 @@ end

%files -f %{name}.lang
%defattr(-,root,root,-)
%{_prefix}/bin/cc
%{_prefix}/bin/c89
%{_prefix}/bin/c99
%{_prefix}/bin/gcc
%{_prefix}/bin/gcov
%{_prefix}/bin/gcov-tool
%{_prefix}/bin/gcov-dump
%{_prefix}/bin/gcc-ar
%{_prefix}/bin/gcc-nm
%{_prefix}/bin/gcc-ranlib
%{_prefix}/bin/lto-dump
%{_prefix}/bin/cc%{binsuffix}
%{_prefix}/bin/c89%{binsuffix}
%{_prefix}/bin/c99%{binsuffix}
%{_prefix}/bin/gcc%{binsuffix}
%{_prefix}/bin/gcov%{binsuffix}
%{_prefix}/bin/gcov-tool%{binsuffix}
%{_prefix}/bin/gcov-dump%{binsuffix}
%{_prefix}/bin/gcc-ar%{binsuffix}
%{_prefix}/bin/gcc-nm%{binsuffix}
%{_prefix}/bin/gcc-ranlib%{binsuffix}
%{_prefix}/bin/lto-dump%{binsuffix}
#%ifnarch %%{arm} aarch64 mipsel
#%%{_prefix}/bin/%%{gcc_target_platform}-gcc
#%%{_prefix}/bin/%%{gcc_target_platform}-gcc-ar
Expand Down Expand Up @@ -1759,13 +1761,13 @@ end
%files doc
%defattr(-,root,root,-)
%{_docdir}/%{name}-%{version}
%{_mandir}/man1/cpp.1*
%{_mandir}/man1/gcc.1*
%{_mandir}/man1/gcov.1*
%{_mandir}/man1/gcov-tool.1*
%{_mandir}/man1/gcov-dump.1*
%{_mandir}/man1/g++.1*
%{_mandir}/man1/lto-dump.1*
%{_mandir}/man1/cpp%{binsuffix}.1*
%{_mandir}/man1/gcc%{binsuffix}.1*
%{_mandir}/man1/gcov%{binsuffix}.1*
%{_mandir}/man1/gcov-tool%{binsuffix}.1*
%{_mandir}/man1/gcov-dump%{binsuffix}.1*
%{_mandir}/man1/g++%{binsuffix}.1*
%{_mandir}/man1/lto-dump%{binsuffix}.1*
%{_mandir}/man7/*
# !crossbuild
%endif
Expand All @@ -1790,8 +1792,8 @@ end
%ifnarch %{arm} aarch64 mipsel
%{_prefix}/bin/%{gcc_target_platform}-*++
%endif
%{_prefix}/bin/g++
%{_prefix}/bin/c++
%{_prefix}/bin/g++%{binsuffix}
%{_prefix}/bin/c++%{binsuffix}
%dir %{_prefix}/%{_lib}/gcc
%dir %{_prefix}/%{_lib}/gcc/%{gcc_target_platform}
%dir %{_prefix}/%{_lib}/gcc/%{gcc_target_platform}/%{gcc_version}
Expand Down Expand Up @@ -2001,9 +2003,9 @@ end

%if %{build_go}
%files go
%attr(755,root,root) %{_prefix}/bin/go.gcc
%{_prefix}/bin/gccgo
%attr(755,root,root) %{_prefix}/bin/gofmt.gcc
%{_prefix}/bin/gccgo%{binsuffix}
%{_prefix}/bin/go%{binsuffix}
%{_prefix}/bin/gofmt%{binsuffix}
%{_mandir}/man1/gccgo.1*
%{_mandir}/man1/go.1*
%{_mandir}/man1/gofmt.1*
Expand Down
54 changes: 28 additions & 26 deletions rpm/cross-x86_64-gcc.spec → rpm/cross-x86_64-gcc13.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Combined gcc / cross-armv*-gcc) specfile
Name: cross-x86_64-gcc
Name: cross-x86_64-gcc13
%define crossarch x86_64
# Keep Name on top !

Expand Down Expand Up @@ -103,6 +103,7 @@ ExclusiveArch: %ix86 x86_64
# end crossbuild / accelerator section
%endif

%global binsuffix -13
%global gcc_version 13.3.1
%global gcc_release 1
%global _unpackaged_files_terminate_build 0
Expand Down Expand Up @@ -724,6 +725,7 @@ CC="$CC" CFLAGS="$OPT_FLAGS" CXXFLAGS="`echo $OPT_FLAGS | sed 's/ -Wall / /g'`"
--enable-lto \
--enable-linker-build-id \
--disable-libmpx \
--program-suffix=%{binsuffix} \
%if %{bootstrap} == 0
--enable-languages=c,c++${enablelgo},lto \
--enable-threads=posix \
Expand Down Expand Up @@ -1250,8 +1252,8 @@ EOF
chmod 755 %{buildroot}%{_prefix}/bin/c?9

cd ..
%find_lang %{name}
%find_lang cpplib
%find_lang %{name}%{binsuffix}
%find_lang cpplib%{binsuffix}

# Remove binaries we will not be including, so that they don't end up in
# gcc-debuginfo
Expand Down Expand Up @@ -1433,17 +1435,17 @@ end

%files -f %{name}.lang
%defattr(-,root,root,-)
%{_prefix}/bin/cc
%{_prefix}/bin/c89
%{_prefix}/bin/c99
%{_prefix}/bin/gcc
%{_prefix}/bin/gcov
%{_prefix}/bin/gcov-tool
%{_prefix}/bin/gcov-dump
%{_prefix}/bin/gcc-ar
%{_prefix}/bin/gcc-nm
%{_prefix}/bin/gcc-ranlib
%{_prefix}/bin/lto-dump
%{_prefix}/bin/cc%{binsuffix}
%{_prefix}/bin/c89%{binsuffix}
%{_prefix}/bin/c99%{binsuffix}
%{_prefix}/bin/gcc%{binsuffix}
%{_prefix}/bin/gcov%{binsuffix}
%{_prefix}/bin/gcov-tool%{binsuffix}
%{_prefix}/bin/gcov-dump%{binsuffix}
%{_prefix}/bin/gcc-ar%{binsuffix}
%{_prefix}/bin/gcc-nm%{binsuffix}
%{_prefix}/bin/gcc-ranlib%{binsuffix}
%{_prefix}/bin/lto-dump%{binsuffix}
#%ifnarch %%{arm} aarch64 mipsel
#%%{_prefix}/bin/%%{gcc_target_platform}-gcc
#%%{_prefix}/bin/%%{gcc_target_platform}-gcc-ar
Expand Down Expand Up @@ -1759,13 +1761,13 @@ end
%files doc
%defattr(-,root,root,-)
%{_docdir}/%{name}-%{version}
%{_mandir}/man1/cpp.1*
%{_mandir}/man1/gcc.1*
%{_mandir}/man1/gcov.1*
%{_mandir}/man1/gcov-tool.1*
%{_mandir}/man1/gcov-dump.1*
%{_mandir}/man1/g++.1*
%{_mandir}/man1/lto-dump.1*
%{_mandir}/man1/cpp%{binsuffix}.1*
%{_mandir}/man1/gcc%{binsuffix}.1*
%{_mandir}/man1/gcov%{binsuffix}.1*
%{_mandir}/man1/gcov-tool%{binsuffix}.1*
%{_mandir}/man1/gcov-dump%{binsuffix}.1*
%{_mandir}/man1/g++%{binsuffix}.1*
%{_mandir}/man1/lto-dump%{binsuffix}.1*
%{_mandir}/man7/*
# !crossbuild
%endif
Expand All @@ -1790,8 +1792,8 @@ end
%ifnarch %{arm} aarch64 mipsel
%{_prefix}/bin/%{gcc_target_platform}-*++
%endif
%{_prefix}/bin/g++
%{_prefix}/bin/c++
%{_prefix}/bin/g++%{binsuffix}
%{_prefix}/bin/c++%{binsuffix}
%dir %{_prefix}/%{_lib}/gcc
%dir %{_prefix}/%{_lib}/gcc/%{gcc_target_platform}
%dir %{_prefix}/%{_lib}/gcc/%{gcc_target_platform}/%{gcc_version}
Expand Down Expand Up @@ -2001,9 +2003,9 @@ end

%if %{build_go}
%files go
%attr(755,root,root) %{_prefix}/bin/go.gcc
%{_prefix}/bin/gccgo
%attr(755,root,root) %{_prefix}/bin/gofmt.gcc
%{_prefix}/bin/gccgo%{binsuffix}
%{_prefix}/bin/go%{binsuffix}
%{_prefix}/bin/gofmt%{binsuffix}
%{_mandir}/man1/gccgo.1*
%{_mandir}/man1/go.1*
%{_mandir}/man1/gofmt.1*
Expand Down
Loading

0 comments on commit 585fd8f

Please sign in to comment.