On 6/24/20 5:26 PM, Jakub Jelinek via Gcc-patches wrote:

Just build the whole gcc tree.
If you are at the toplevel of gcc tree (i.e. directory that contains libgomp
subdirectory), do
mkdir obj
cd obj
../configure --disable-bootstrap --enable-languages=c,c++,fortran
make -j16 # or how many cores or threads you have

To save some additional time, use: --disable-multilib --disable-pch

(But this matters more if you keep building all of GCC and not only
libgomp. pch = pre-compiled header files.)

See also https://gcc.gnu.org/install/configure.html and for completeness:
https://gcc.gnu.org/install/prerequisites.html
https://gcc.gnu.org/install/build.html

Tobias

-----------------
Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany
Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Alexander 
Walter

Reply via email to