From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c631ec53960145e0 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news2.google.com!news.glorb.com!feeder.erje.net!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Rebuilding the RTL : Makefile.adalib? Date: Sun, 03 Aug 2008 11:11:48 +0100 Organization: Pushface Message-ID: References: <6fdit4Fb3jcmU1@mid.individual.net> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1217758308 22332 62.49.19.209 (3 Aug 2008 10:11:48 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Sun, 3 Aug 2008 10:11:48 +0000 (UTC) Cancel-Lock: sha1:9cnbjn2AIjRCirSrYPn68hGFahk= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2.50 (darwin) Xref: g2news1.google.com comp.lang.ada:1424 Date: 2008-08-03T11:11:48+01:00 List-Id: "John B. Matthews" writes: > I had this problem integrating an addition to Ada.Numerics, so I wrote > my own Makefile, shown below and available here: > > > > 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.