comp.lang.ada
 help / color / mirror / Atom feed
* to Simon Wright, re Mac OS X builds
@ 2016-10-03 15:14 Lucretia
  2016-10-06  7:57 ` Simon Wright
  0 siblings, 1 reply; 22+ messages in thread
From: Lucretia @ 2016-10-03 15:14 UTC (permalink / raw)


Hi,

I'm trying to replicate your build of 6.1.0 for mac so I get an understanding of the build process on Mac. Problem is, it's failing. There must be more than what you are telling going on on your platform.

This cannot be all you do (my command line taken from yours):

../../source/gcc-6.1.0/configure --prefix=/opt/gcc-6.1.0-mine --without-libiconv-prefix --disable-libmudflap --disable-libstdcxx-pch --disable-libsanitizer --disable-libcc1 --disable-libcilkrts --disable-multilib --disable-nls --enable-languages=c,c++,ada,fortran,objc,obj-c++ --host=x86_64-apple-darwin15 --build=x86_64-apple-darwin15 --target=x86_64-apple-darwin15  --with-boot-ldflags='-Wl,-headerpad_max_install_names -shared-libgcc'

No matter what I do, I fail:

checking whether the /opt/gcc-6.1.0/bin/gcc linker (ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin15 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... /lib/cpp
configure: error: in `/Users/laguest/gcc/build/gcc-6.1.0/gmp':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details

I've done:

export CPP=/usr/bin/cpp

and

export CPP=/opt/gcc-6.1.0/bin/cpp

I've added quotes, I've even put these vars at the start of my command line:

CC=/opt/gcc-6.1.0/bin/gcc CXX=/opt/gcc-6.1.0/bin/g++ AR=/opt/gcc-6.1.0/bin/gcc-ar NM=/opt/gcc-6.1.0/bin/gcc-nm RANLIB=/opt/gcc-6.1.0/bin/gcc-ranlib ../../source/gcc-6.1.0/configure ...

and

CC=/opt/gcc-6.1.0/bin/gcc CXX=/opt/gcc-6.1.0/bin/g++ AR=/opt/gcc-6.1.0/bin/gcc-ar NM=/opt/gcc-6.1.0/bin/gcc-nm RANLIB=/opt/gcc-6.1.0/bin/gcc-ranlib make all-gcc 2>&1| tee log.make.txt

I've tried make all, make all-gcc, make bootstrap, just to see and they all fail.

What am I doing wrong?

Thanks,
Luke.


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2016-10-08 11:28 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-03 15:14 to Simon Wright, re Mac OS X builds Lucretia
2016-10-06  7:57 ` Simon Wright
2016-10-06 10:54   ` Luke A. Guest
2016-10-06 16:30     ` Simon Wright
2016-10-06 16:41       ` Lucretia
2016-10-06 19:15         ` Simon Wright
2016-10-06 16:51       ` Lucretia
2016-10-06 19:09         ` Simon Wright
2016-10-06 14:38   ` Luke A. Guest
2016-10-06 16:23   ` Lucretia
2016-10-06 16:26   ` Lucretia
2016-10-06 16:29     ` Lucretia
2016-10-06 16:54       ` Simon Wright
2016-10-06 17:14         ` Lucretia
2016-10-06 18:13           ` Lucretia
2016-10-06 19:08             ` Simon Wright
2016-10-06 19:29               ` Lucretia
2016-10-06 22:16                 ` Lucretia
2016-10-07  7:26                   ` Simon Wright
2016-10-07  9:24                     ` Luke A. Guest
2016-10-07 13:20                       ` Simon Wright
2016-10-08 11:28                       ` Lucretia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox