make
is not part of gcc. It’s a different tool, in a different package:
$ rpm -qf /usr/bin/make
make-4.3-2.fc33.x86_64
I’ve uploaded all the F32 packages from the “C Development Tools and Libraries” group and their dependencies on my fedorapeople space here. That should cover all the packages you need. I’ve also included createrepo here so that you can use it to create a local repository from these packages on your system if you wish.
https://ankursinha.fedorapeople.org/f32-c-dev-packages/
To download these from the repos, one can use these commands:
# FInd packages in this package group
# Can also get this list manually from comps: https://pagure.io/fedora-comps/blob/master/f/comps-f32.xml.in#_391
$ sudo dnf groupinfo "C Development Tools and Libraries"
Group: C Development Tools and Libraries
Description: These tools include core development tools such as automake, gcc and debuggers.
Mandatory Packages:
autoconf
automake
binutils
bison
flex
gcc
gcc-c++
gdb
glibc-devel
libtool
make
pkgconf
strace
Default Packages:
byacc
ccache
cscope
ctags
elfutils
indent
ltrace
perf
valgrind
Optional Packages:
ElectricFence
astyle
cbmc
check
cmake
coan
cproto
insight
nasm
pscan
python3-scons
remake
scorep
splint
yasm
zzuf
Download the ones needed with their deps
# The --resolve bit also downloads the dependencies
# The --release bit lets one specify a different release. I downloaded these on a Fedora 33 system, for example.
# The --installroot bit is to ensure that dnf doesn't look at the packages already installed on my system and try to include them in the transaction
$ sudo dnf download gcc g++ make autoconf automake glibc-devel --resolve --release=32 --installroot=/some/path/
....
....
# Downloads all packages.
To create a local repository, download all the packages, and then use these commands:
$ createrepo /path/to/folder/with/rpms
That’ll create a repodata
folder there. Then you just tell dnf about the repo, with a new repo file in /etc/yum.repos.d/
# Put this in /etc/yum.repos.d/
[Local-repository]
name=Fedora 32 local
baseurl=/path/to/your/rpms/repository/folder
enabled=1
Check man dnf.conf
for more options that can go in the repos. For example, since I downloaded these rpms from the repositories, they’ll be signed with the correct Fedora GPG keps, so you can add gpgcheck=1
there too.