comp.lang.ada
 help / color / mirror / Atom feed
* ANN: GCC 6.1.0 for OS X El Capitan
@ 2016-05-07 13:58 Simon Wright
  2016-06-05 10:04 ` Simon Wright
  0 siblings, 1 reply; 2+ messages in thread
From: Simon Wright @ 2016-05-07 13:58 UTC (permalink / raw)


This compiler is released in both native and cross-compiler
configurations at
https://sourceforge.net/projects/gnuada/files/GNAT_GCC%20Mac%20OS%20X/6.1.0/

From the native compiler README:

Compilers included: Ada, C, C++, Objective C, Objective C++, Fortran.

Tools included:

Full GPL:
  ASIS, AUnit, GDB, and GNATColl from GNAT GPL 2015.

GPL with Runtime Library Exception[1]:
  Gprbuild from the public Git repository[2] at commit
  11f9b58c0283586f4fb134ff8c022f1117b58223
  XMLAda from the public Git repository[3] at commit
  8a9536bf161125cb1e12da376e8d7b51f1b33677

(I would have included GNATColl here, but it now relies on "libgpr";
waiting for GNAT GPL 2016 to see what this means.)

[1] http://www.gnu.org/licenses/gcc-exception-faq.html
[2] https://github.com/AdaCore/gprbuild
[3] https://github.com/AdaCore/xmlada

========================================================================

From the arm-eabi compiler README:

This is GCC 6.1.0, rebuilt as a cross-compiler from Mac OS X to
arm-eabi (specifically, the Cortex-M3 as found on the Arduino Due[1]
and the Cortex-M4 as found on the STMicroelectronics[2] STM32F4
Discovery and STM32F429I Discovery boards).

The compiler comes with no Ada Runtime System (RTS). See the Cortex
GNAT Run Time Systems project[3] for candidates.

[1] http://www.arduino.com
[2] http://www.st.com
[3] https://sourceforge.net/projects/stm32f4-gnat-rts/


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

* Re: ANN: GCC 6.1.0 for OS X El Capitan
  2016-05-07 13:58 ANN: GCC 6.1.0 for OS X El Capitan Simon Wright
@ 2016-06-05 10:04 ` Simon Wright
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Wright @ 2016-06-05 10:04 UTC (permalink / raw)


It turns out that the native-2015 README makes a claim that I in fact
failed to fulfil. I've updated it and uploaded a patch for manual
application, if needed; only if you're going to be building a
relocatable library (e.g. your own version of GNATColl).

The relevant section of the updated README says

Library names
.............

The ld error "library not found for -lgnat-6.1" will be encountered
when using gprbuild to link a relocatable library (ordinary
relocatable links should be OK). The reason is that the GCC build
process only generates libgnat-6.dylib, libgnarl-6.dylib, but gprbuild
tries to link against libgnat-6.1.dylib (why it wouldn't just link
against libgnat.dylib I don't know).

You can fix by either of

* installing the necessary symbolic links: in
  $prefix/lib/gcc/x86-64-apple-darwin15/6.1.0/adalib,
   sudo ln -s libgnat-6.dylib libgnat-6.1.dylib
   sudo ln -s libgnarl-6.dylib libgnarl-6.1.dylib

* patch gprbuild's database: download
  share-gprconfig-compilers.xml.diff, then in $prefix,
   sudo patch -p1 <~/Downloads/share-gprconfig-compilers.xml.diff

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

end of thread, other threads:[~2016-06-05 10:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-07 13:58 ANN: GCC 6.1.0 for OS X El Capitan Simon Wright
2016-06-05 10:04 ` Simon Wright

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