This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libgomp on 32-bit darwin
- From: Jack Howarth <howarth dot at dot gcc at gmail dot com>
- To: FX <fxcoudert at gmail dot com>
- Cc: GCC Development <gcc at gcc dot gnu dot org>
- Date: Tue, 3 May 2016 10:20:49 -0400
- Subject: Re: libgomp on 32-bit darwin
- Authentication-results: sourceware.org; auth=none
- References: <4795FF84-EC6B-448F-991E-AAA8948D5EE4 at gmail dot com>
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 <fxcoudert@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
>