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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!mx05.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Specifying an `--RTS` option in a GPR file, for a runtime library Date: Sun, 14 Apr 2013 22:07:58 +0200 Organization: Ada @ Home Message-ID: References: NNTP-Posting-Host: uwos+1ZhmnbuJ+99C4yJ/Q.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.15 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:15001 Date: 2013-04-14T22:07:58+02:00 List-Id: Le Sun, 14 Apr 2013 21:54:20 +0200, Yannick Duch=C3=AAne (Hibou57) = a =C3=A9crit: > [=E2=80=A6] I landed to the `-nostdinc` option, described here: http://gcc.gnu.org/onlinedocs/gnat_ugn_unw/Search-Paths-and-the-Run_002d= Time-Library-_0028RTL_0029.html Using this set=E2=80=91up variation gives another error: Switches :=3D ("-s", "-nostdinc", "--RTS=3D//runtime"); It still starts with =E2=80=9Cwarning: RTS for language ada is discarded= (full = path)=E2=80=9D as before with the absolute path variant, but now `gprbui= ld` also = returns this additional message: =E2=80=9Craised TYPES.UNRECOVERABLE_ERR= OR : = targparm.adb:177=E2=80=9D. This must be a file from the compiler source, as I could not find this i= n = the runtime source files. -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [1] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [1] [1]: Epigrams on Programming =E2=80=94 Alan J. =E2=80=94 P. Yale Univers= ity