comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Problem building GNAT CE 2021 on Mac Catalina
Date: Thu, 17 Jun 2021 17:49:25 +0100	[thread overview]
Message-ID: <lypmwkzbai.fsf@pushface.org> (raw)
In-Reply-To: 0cc87de1-180d-44df-9e0d-a782992e518cn@googlegroups.com

Roger Mc <rogermcm2@gmail.com> writes:

> Mac OSX 10.15.7 
> XCode 12.0
>
> I am attemting to build using the insttructions provided by the
> README.BUILD from the source distribution of GNAT.
>
> I configure successfully from my /opt/GNAT/2021/obj directory with
>
> ../src/configure --enable-languages="c,ada" --disable-libada
> --with-gmp=/usr/local/Cellar/gmp/6.2.1
> --with-mpfr=/usr/local/Cellar/mpfr/4.1.0
> --with-mpc=/usr/local/Cellar/libmpc/1.1.0
>
> Although My /usr/local/include directory does include  libintl.h
>  make bootstrap fails with:
> In file included from ../../src/libcpp/charset.c:21:
> ../../src/libcpp/system.h:279:10: fatal error: libintl.h: No such file
> or directory
>  #include <libintl.h>

I think those instructions are rather old. Two things:

* usually, GCC build instructions say not to make the build directory a
  subdirectory of the source
* nowadays you don't need to --disable-libada and then "make -C gcc
  gnatlib gnattools"

What compiler are you starting from?

What stage of the build did this fail at? (stage_current in the build
directory)

It looks as though this is to do with "Native Language Support (NLS),
which lets GCC output diagnostics in languages other than American
English". The configuration documentation at
https://gcc.gnu.org/install/configure.html suggests --disable-nls (which
is what I do) or --with-included-gettext.

  reply	other threads:[~2021-06-17 16:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-17 11:34 Problem building GNAT CE 2021 on Mac Catalina Roger Mc
2021-06-17 16:49 ` Simon Wright [this message]
2021-06-18  8:01   ` Roger Mc
2021-06-18 12:18     ` Roger Mc
2021-06-19  7:29       ` Roger Mc
2021-06-20 10:20       ` Roger Mc
2021-06-20 11:21         ` Simon Wright
2021-06-20 11:57           ` Roger Mc
replies disabled

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