comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon.j.wright@mac.com>
Subject: Re: Rebuilding the RTL : Makefile.adalib?
Date: Sun, 03 Aug 2008 11:11:48 +0100
Date: 2008-08-03T11:11:48+01:00	[thread overview]
Message-ID: <m2zlnu4dcr.fsf@mac.com> (raw)
In-Reply-To: nospam-23ACA1.07314702082008@web.aioe.org

"John B. Matthews" <nospam@nospam.com> writes:

> I had this problem integrating an addition to Ada.Numerics, so I wrote
> my own Makefile, shown below and available here:
>
> <http://home.woh.rr.com/jbmatthews/misc/groots.html>
>
> Use gnatls -v to get the prefix. I don't know if it would work for the
> entire RTL.

I suppose one would have to be careful about .a, .dylib (or .so, .dll on
other platforms).

I see that AdaCore still distribute Makefile.adalib with at least
6.0.1. It supports rebuilding for cross-compilation, including the C
source files, and special optimisation flags for some units (as an
example, Ada.Exceptions needs to be compiled with -g). But it only
supports static libraries.



      reply	other threads:[~2008-08-03 10:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-30 15:00 Rebuilding the RTL : Makefile.adalib? Brian Drummond
2008-07-31 10:38 ` Alex R. Mosteo
2008-08-01  0:35   ` Brian Drummond
2008-08-01 19:09     ` Simon Wright
2008-08-02 11:31       ` John B. Matthews
2008-08-03 10:11         ` Simon Wright [this message]
replies disabled

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