Build Gcc From Source

[Solved] Build Gcc From Source | Shell - Code Explorer | yomemimo.com
Question : build gcc from source

Answered by : tense-tarantula-we3m6j7rn4xs

git clone https://gcc.gnu.org/git/gcc.git
cd gcc
# download prerequisites
cd gcc
./contrib/download_prerequisites
# create build directory
cd ..
mkdir gcc-build
cd gcc-build
# build
../gcc/configure \ --prefix=${INSTALLDIR} \ --enable-shared \ --enable-threads=posix \ --enable-__cxa_atexit \ --enable-clocale=gnu \ --enable-languages=all \ --enable-multilib
make
make install

Source : | Last Update : Tue, 01 Feb 22

Question : grepper subscription required

Answered by : code-grepper

{"tags":[{"tag":"p","content":"You have reached your max daily Grepper answers. <a href=\"https://www.grepper.com/subscriptions.php\" target=\"_blank\" rel=\"nofollow\">Upgrade to professional </a>to view more Grepper answer today."},{"tag":"p","content":"<a href=\"https://www.grepper.com/api/view_product.php?hl=1&amp;pid=42\" target=\"_blank\" rel=\"nofollow\">Upgrade To Grepper Professional</a>"}]}

Source : | Last Update : Mon, 27 Mar 23

Answers related to build gcc from source

Code Explorer Popular Question For Shell