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: a07f3367d7,e083e2da6a3c57ad X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 X-Received: by 10.180.20.105 with SMTP id m9mr2897066wie.5.1367665576380; Sat, 04 May 2013 04:06:16 -0700 (PDT) Path: hg5ni66822wib.1!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!216.196.110.146.MISMATCH!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!backlog2.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.news.ucla.edu!nrc-news.nrc.ca!News.Dal.Ca!news.litech.org!news.etla.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: =?utf-8?B?R05BVEJpbmQgd2l0aCBhIEdOQVQgY3Jvc3PigJFjb21waWxlcg==?= Date: Fri, 26 Apr 2013 22:59:19 +0200 Organization: Ada @ Home Message-ID: References: NNTP-Posting-Host: ZOt+glEqAP8SwP/H/SQpKw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.15 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 X-Original-Bytes: 3625 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable Date: 2013-04-26T22:59:19+02:00 List-Id: Le Thu, 25 Apr 2013 12:46:09 +0200, Brian Drummond = a =C3=A9crit: > If that protests, then you may need to patch the gcc "configure" file = to > allow the missing targets to be built, as in the following patch. > > http://sourceforge.net/p/msp430ada/code/ci/tip/tree/patches/23-gcc-4.7= - > ada-Makefile.patch > > found on > > http://sourceforge.net/p/msp430ada/code/ci/tip/tree/patches/ > > Having applied the patch, obviously you need to re-run configure/make/= > [make gnattools if utils missing in build dir]/make install. > > (The AVR-Ada project has also faced this issue with essentially the sa= me > solution. Some upstream gcc discussion on > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D19959 ) > > If you try this and it works - or if and how it fails - it would be > useful to follow up. Something in part out=E2=80=91of=E2=80=91topic=E2=80=A6 I will finally test the patch you mentioned, because I may have to = recompile the compilers to fix GNATBind, as I'm having an issue when = `Suppress_Standard_Library` from package `System` is set to `True`; I = receive a complaint about an undefined reference to `Is_Elaborated`. See= ms = there is an inconsistency here in GNAT FSF. Explanation: I've found [1],= = which is a patch to drop the generation of the `Is_Elaborated` variable = = when `Suppress_Standard_Library` is `True`, arguing it was never = referenced; except this may be not referenced with GNAT GPL or GNAT Pro = = (just guessing), but it is referenced for me with FSF GNAT [2]. So as I will have to disable the patch from [1], I will get an opportuni= ty = to test the patch to `configure` you suggest in the while. [1]: http://patchwork.ozlabs.org/patch/194962/ [2]: Here is what gets generated by GNATBind from FSF GNAT: procedure adafinal is procedure s_stalib_adafinal; pragma Import (C, s_stalib_adafinal, = "system__standard_library__adafinal"); begin if not Is_Elaborated then -- << Here return; end if; Is_Elaborated :=3D False; -- << And here s_stalib_adafinal; end adafinal; procedure adainit is begin null; end adainit; Then it complains =E2=80=9C"Is_Elaborated" is undefined (more references= follow)=E2=80=9D = when compiling the files generated by GNATBind. -- = =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