comp.lang.ada
 help / color / mirror / Atom feed
From: "Rego, P." <pvrego@gmail.com>
Subject: Re: Tiva + Ada
Date: Sun, 16 Feb 2014 15:35:52 -0800 (PST)
Date: 2014-02-16T15:35:52-08:00	[thread overview]
Message-ID: <313a2f39-74e7-427b-a9c1-5b3018de1945@googlegroups.com> (raw)
In-Reply-To: <1547661175414018961.417057laguest-archeia.com@nntp.aioe.org>

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 which
> allows me, with a bit of fiddling, to build a cross compiler with gnattools
> 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 providing
> 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 it
> 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 virtual machine with Ubuntu-13.10, and downloaded last tamp version using svn. (my current gcc version is 4.8.1)

1) Inside thirdparty I copied config-master.inc file to config.inc. So I edited config.inc and commented the line export BITS=64 (since the comment says to leave blank for 32 bits). So I run

$ ./build-tools.sh -t native

So I get...

No such file ´gmp-5.0.1.tar.gz´
   
  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).




  parent reply	other threads:[~2014-02-16 23:35 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-12 16:57 Tiva + Ada Rego, P.
2014-02-12 18:15 ` Tero Koskinen
2014-02-12 20:11   ` Luke A. Guest
2014-02-12 20:29     ` Rego, P.
2014-02-12 20:25   ` Rego, P.
2014-02-13 11:58   ` Brian Drummond
2014-02-13 14:14     ` Rego, P.
2014-02-13 21:23       ` Luke A. Guest
2014-02-14 15:55         ` Rego, P.
2014-02-16 23:35         ` Rego, P. [this message]
2014-02-17  9:37           ` Simon Wright
2014-02-17 12:41           ` Brian Drummond
2014-02-17 15:36             ` Simon Wright
2014-02-17 16:04               ` Simon Wright
2014-02-17 16:21                 ` Brian Drummond
2014-02-17 20:42                 ` Simon Wright
2014-02-22  4:21           ` Rego, P.
2014-02-22 11:31             ` Brian Drummond
2014-02-23 14:30               ` Luke A. Guest
2014-02-24 19:43                 ` Rego, P.
2014-02-24 19:42               ` Rego, P.
2014-02-13 21:34       ` Brian Drummond
2014-02-14 15:16 ` Lucretia
2014-02-14 15:56   ` Rego, P.
replies disabled

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