On Wed, Jun 24, 2020 at 06:03:26PM +0200, Tobias Burnus wrote: > 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
--disable-multilib perhaps just initially, for the OMPD project you'll want later to test how a 64-bit GDB loads the libgompd.so.1 library and communicates with 32-bit libgomp.so.1 too. And, you don't really need to build it from scratch each time you update, for the libgomp development you just do make, or ./config.status --recheck; ./config.status make in the libgomp build directory, and make check RUNTESTFLAGS=ompd.exp to test. Jakub