FX, No problem here x86_64-apple-darwin15 with a build using... $ gcc-fsf-6 -v Using built-in specs. COLLECT_GCC=gcc-fsf-6 COLLECT_LTO_WRAPPER=/sw/lib/gcc6/libexec/gcc/x86_64-apple-darwin15.5.0/6.1.0/lto-wrapper Target: x86_64-apple-darwin15.5.0 Configured with: ../gcc-6.1.0/configure --prefix=/sw --prefix=/sw/lib/gcc6 --mandir=/sw/share/man --infodir=/sw/lib/gcc6/info --enable-languages=c,c++,fortran,lto,objc,obj-c++,java --with-gmp=/sw --with-libiconv-prefix=/sw --with-isl=/sw --with-mpc=/sw --with-system-zlib --program-suffix=-fsf-6 Thread model: posix gcc version 6.1.0 (GCC) $ file /sw/lib/gcc6/lib/i386/libgomp.1.dylib /sw/lib/gcc6/lib/i386/libgomp.1.dylib: Mach-O dynamically linked shared library i386
Jack On Tue, May 3, 2016 at 4:13 AM, FX <fxcoud...@gmail.com> wrote: > Hi all, > > It seems that, by default, a build of GCC on x86_64-apple-darwin15 will build > 64-bit libgomp but not 32-bit libgomp. Is that intended? What should one do > to explicitly enable libgomp on 64-bit? > > my configure is simply: ../gcc-6.1.0/configure --prefix=/usr/local/gfortran > --with-gmp=/Users/fx/devel/gcc/deps-static/x86_64 > --enable-languages=c,c++,fortran,objc,obj-c++ --build=x86_64-apple-darwin15 > > Thanks, > FX >