comp.lang.ada
 help / color / mirror / Atom feed
From: Lucretia <laguest9000@googlemail.com>
Subject: to Simon Wright, re Mac OS X builds
Date: Mon, 3 Oct 2016 08:14:48 -0700 (PDT)
Date: 2016-10-03T08:14:48-07:00	[thread overview]
Message-ID: <4a4cee95-52e4-42c6-b4bb-a8146744bafd@googlegroups.com> (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.


             reply	other threads:[~2016-10-03 15:14 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-03 15:14 Lucretia [this message]
2016-10-06  7:57 ` to Simon Wright, re Mac OS X builds 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
replies disabled

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