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 X-Received: by 10.43.69.210 with SMTP id yd18mr8106426icb.10.1392593752889; Sun, 16 Feb 2014 15:35:52 -0800 (PST) X-Received: by 10.140.26.47 with SMTP id 44mr1058qgu.9.1392593752857; Sun, 16 Feb 2014 15:35:52 -0800 (PST) Path: border1.nntp.dca.giganews.com!nntp.giganews.com!c10no25685505igq.0!news-out.google.com!dr7ni182qab.1!nntp.google.com!f11no21836286qae.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 16 Feb 2014 15:35:52 -0800 (PST) In-Reply-To: <1547661175414018961.417057laguest-archeia.com@nntp.aioe.org> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=189.18.155.138; posting-account=TRgI1QoAAABSsYi-ox3Pi6N-JEKKU0cu NNTP-Posting-Host: 189.18.155.138 References: <44f053fc-72a9-44f0-8a0d-c919632d57e8@googlegroups.com> <%r2Lu.9395$yo1.4292@fx26.fr7> <1547661175414018961.417057laguest-archeia.com@nntp.aioe.org> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <313a2f39-74e7-427b-a9c1-5b3018de1945@googlegroups.com> Subject: Re: Tiva + Ada From: "Rego, P." Injection-Date: Sun, 16 Feb 2014 23:35:52 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: number.nntp.dca.giganews.com comp.lang.ada:184927 Date: 2014-02-16T15:35:52-08:00 List-Id: On Thursday, February 13, 2014 7:23:49 PM UTC-2, Luke A. Guest wrote: > I asked which is you were on because if you were on 64 bit linux I could > easily package up the latest compiler, I.e 4.9.0 > The patch in tamp doesn't apply cleanly anymore. I have a patched GCC whi= ch > allows me, with a bit of fiddling, to build a cross compiler with gnattoo= ls > without rts. > You can use any prebuilt compiler eg arm-Linux and just redirect it using > the --RTS flag. > As for getting some niceties of the rts on bare metal, it works the same > for all platforms, start with a system.ads and the basic packages providi= ng > compiler intrinsics, then you can add last_chance_handler for local > exceptions, then memset. Etc, etc which allows you to copy objects about. > If you want to return in constrained objects you need to add a simple > secondary stack, this can be say 4-8kb allocated in the linker script and > referenced in the secsta.adb. > If you want more then you just enable it in the restrictions pragma use i= t > and wait for the compiler to tell you what's missing. I guess I am a little lost in the order of the things. I installed a virtua= l machine with Ubuntu-13.10, and downloaded last tamp version using svn. (m= y current gcc version is 4.8.1) 1) Inside thirdparty I copied config-master.inc file to config.inc. So I ed= ited config.inc and commented the line export BITS=3D64 (since the comment = says to leave blank for 32 bits). So I run $ ./build-tools.sh -t native So I get... No such file =B4gmp-5.0.1.tar.gz=B4 =20 ERROR: Something went wrong! ( ) Start Processing GMP, PPL, and Cloog-PPL >> [1/11] Creating Directories (if needed)... << [2/11] Configuring GMP... ERROR: Something went wrong! I also looked into ftp://ftp.gmplib.org/pub/gmp-5.0.5/, and really does not= exist a gmp-5.0.1.tar.gz (but there is a gmp-5.0.1.tar.bz2).