comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Reducing the size of executables produced by GNAT
Date: Thu, 14 Feb 2008 19:19:47 -0500
Date: 2008-02-14T19:19:47-05:00	[thread overview]
Message-ID: <wccmyq3nk9o.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: 1f0279b6-26a3-4d29-bab1-227481d74afb@e6g2000prf.googlegroups.com

Hibou57 <yannick_duchene@yahoo.fr> writes:

> I'm trying to set up a personalized RTS,...

I don't like to dampen your enthusiasm, but I really think
you're headed in the wrong direction, here.  Writing your
own runtime is a big deal, even for a cut-down version.

And you don't even know that large executable files cause
long startup times -- you should at least measure that,
if that's your concern.

But anyway, if you go this way, first learn to build and modify both the
compiler and the runtime (the existing one).

>... but when I always get this
> message :
>
>> test.adb:2:04: construct not allowed in configurable run-time mode

To debug this, search the compiler sources to find where it prints
this message, and figure out what it's doing.

Do you know about the -gnatD and other related options?
They could come in handy to figure out what's missing.

> where test.adb is
>
>> procedure test is
>> e: exception;
>> begin
>> raise e;
>> exception
>>     when others =>
>>         null;
>> end;
>
> I'm not sure to understand, beceause this seems paradoxal : a custom
> runtime is not allowed to implements every things ? There are things
> that are not allowed with a custom runtime ?

That's not what it means.  It means something is missing.

> I get this with "gnatmake --RTS=... test"
>
> This is strange.

- Bob



  reply	other threads:[~2008-02-15  0:19 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-13 11:52 Reducing the size of executables produced by GNAT Hibou57
2008-02-13 14:38 ` Martin Krischik
2008-02-13 20:03   ` Hibou57
2008-02-13 20:25     ` Pascal Obry
2008-02-13 21:41       ` Maciej Sobczak
2008-02-13 23:35         ` Ludovic Brenta
2008-02-13 20:37     ` tmoran
2008-02-14 10:12       ` Georg Bauhaus
2008-02-14 11:07         ` Ludovic Brenta
2008-02-14 22:07           ` Hibou57
2008-02-15  0:19             ` Robert A Duff [this message]
2008-02-13 21:27     ` Gautier
2008-02-13 22:14       ` Hibou57
2008-02-14 10:34         ` Georg Bauhaus
2008-02-14 10:53         ` anon
2008-02-15  5:52         ` Randy Brukardt
2008-02-15  5:52         ` Randy Brukardt
2008-02-15  5:52         ` Randy Brukardt
2008-02-19  0:41           ` Hibou57
2008-02-13 14:50 ` gautier_niouzes
2008-02-13 15:41   ` Pascal Obry
2008-02-13 15:52 ` Ludovic Brenta
2008-02-13 16:19 ` anon
2008-02-13 16:28   ` Pascal Obry
2008-02-13 17:34 ` Tero Koskinen
2008-02-13 21:32 ` Jeffrey R. Carter
2008-02-14  6:58 ` Jacob Sparre Andersen
replies disabled

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