Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Respect is a rational process -- McCoy, "The Galileo Seven", stardate 2822.3


devel / comp.lang.ada / Re: ANN: GCC 11.1.0 for macOS

SubjectAuthor
o Re: ANN: GCC 11.1.0 for macOSSimon Wright

1
Re: ANN: GCC 11.1.0 for macOS

<lytum5wuze.fsf@pushface.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=6713&group=comp.lang.ada#6713

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!yy9MKEJN2ULhWGfnfq4v5w.user.gioia.aioe.org.POSTED!not-for-mail
From: simon@pushface.org (Simon Wright)
Newsgroups: comp.lang.ada
Subject: Re: ANN: GCC 11.1.0 for macOS
Date: Thu, 10 Jun 2021 17:21:57 +0100
Organization: Aioe.org NNTP Server
Lines: 31
Message-ID: <lytum5wuze.fsf@pushface.org>
References: <lyeeep2j8m.fsf@pushface.org>
NNTP-Posting-Host: yy9MKEJN2ULhWGfnfq4v5w.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain
X-Complaints-To: abuse@aioe.org
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin)
X-Notice: Filtered by postfilter v. 0.9.2
Cancel-Lock: sha1:TkrF1r86d6i4yJO2VInUEEXWpEQ=
 by: Simon Wright - Thu, 10 Jun 2021 16:21 UTC

Simon Wright <simon@pushface.org> writes:

> GCC 11.1.0 x86_64-apple-darwin for macOS is available at:
>
> https://sourceforge.net/projects/gnuada/files/GNAT_GCC%20Mac%20OS%20X/11.1.0/native

This release contains versions of gnatstub, gnattest, gnatpp and
gnatmetric which fail to load:

$ /opt/gcc-11.1.0/bin/gnattest --help
dyld: Library not loaded: @rpath/libgnarl-11.dylib
Referenced from: /opt/gcc-11.1.0/bin/gnattest
Reason: image not found
Abort trap: 6

Workround:
export DYLD_FALLBACK_LIBRARY_PATH=/opt/gcc-11.1.0/lib/gcc/x86_64-apple-darwin15/11.1.0/adalib

~~~~~~~~~~~~~~~~~~~

You may not be aware that gprbuild now lets you specify building
standalone static libraries "for Library_Interface use (list-of-units);"
- this doesn't work on macOS, and in fact cannot work, because it uses
features of binutils object binaries that aren't available in
Mach-O. The effect of this is that a static link against such a library
will fail if the library involves any tasking. If you try to fix this by
using the relocatable version, and then move the executable, it won't
find the GNAT runtime dylibs.

I wonder why the GNAT runtime dylibs are all the way down there without
a symlink in $prefix/lib?


devel / comp.lang.ada / Re: ANN: GCC 11.1.0 for macOS

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor