how to build compiled rpm of gcc 8.2
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I am trying to make an rpm of gcc 8.2 for centos 7.
Honestly I am trying my best to understand how to use rpmbuild
and .spec
file, but it's too hard for me to understand.
I tried packaging my hello world program using fedoraproject's tutorial and succeded.
But when I tried building wget rpm using ibm's Packaging software with RPM tutorial, I failed.
I am trying to build gcc 8.2(https://ftp.gnu.org/gnu/gcc/gcc-8.2.0/gcc-8.2.0.tar.gz)
I use this process to build gcc, and I want the packaged rpm to do exactly like this, precompiled.
./configure --with-system-zlib --disable-multilib --enable-languages=c,c++ --prefix=/opt/gcc-8.2.0
make -j 12
make install
Can anyone write an example spec file for me?
rpmbuild rpm-spec
add a comment |Â
up vote
0
down vote
favorite
I am trying to make an rpm of gcc 8.2 for centos 7.
Honestly I am trying my best to understand how to use rpmbuild
and .spec
file, but it's too hard for me to understand.
I tried packaging my hello world program using fedoraproject's tutorial and succeded.
But when I tried building wget rpm using ibm's Packaging software with RPM tutorial, I failed.
I am trying to build gcc 8.2(https://ftp.gnu.org/gnu/gcc/gcc-8.2.0/gcc-8.2.0.tar.gz)
I use this process to build gcc, and I want the packaged rpm to do exactly like this, precompiled.
./configure --with-system-zlib --disable-multilib --enable-languages=c,c++ --prefix=/opt/gcc-8.2.0
make -j 12
make install
Can anyone write an example spec file for me?
rpmbuild rpm-spec
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am trying to make an rpm of gcc 8.2 for centos 7.
Honestly I am trying my best to understand how to use rpmbuild
and .spec
file, but it's too hard for me to understand.
I tried packaging my hello world program using fedoraproject's tutorial and succeded.
But when I tried building wget rpm using ibm's Packaging software with RPM tutorial, I failed.
I am trying to build gcc 8.2(https://ftp.gnu.org/gnu/gcc/gcc-8.2.0/gcc-8.2.0.tar.gz)
I use this process to build gcc, and I want the packaged rpm to do exactly like this, precompiled.
./configure --with-system-zlib --disable-multilib --enable-languages=c,c++ --prefix=/opt/gcc-8.2.0
make -j 12
make install
Can anyone write an example spec file for me?
rpmbuild rpm-spec
I am trying to make an rpm of gcc 8.2 for centos 7.
Honestly I am trying my best to understand how to use rpmbuild
and .spec
file, but it's too hard for me to understand.
I tried packaging my hello world program using fedoraproject's tutorial and succeded.
But when I tried building wget rpm using ibm's Packaging software with RPM tutorial, I failed.
I am trying to build gcc 8.2(https://ftp.gnu.org/gnu/gcc/gcc-8.2.0/gcc-8.2.0.tar.gz)
I use this process to build gcc, and I want the packaged rpm to do exactly like this, precompiled.
./configure --with-system-zlib --disable-multilib --enable-languages=c,c++ --prefix=/opt/gcc-8.2.0
make -j 12
make install
Can anyone write an example spec file for me?
rpmbuild rpm-spec
rpmbuild rpm-spec
asked Sep 17 at 0:57
Adam Foerster
61
61
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f469462%2fhow-to-build-compiled-rpm-of-gcc-8-2%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password