comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon.j.wright@mac.com>
Subject: Re: Problems with dynamic allocation in tasks
Date: Thu, 26 Jul 2007 21:56:53 +0100
Date: 2007-07-26T21:56:53+01:00	[thread overview]
Message-ID: <m24pjqj33e.fsf@mac.com> (raw)
In-Reply-To: 1185379864.592973.73220@b79g2000hse.googlegroups.com

ldb <ldb_nospam@hotmail.com> writes:

> In a nut shell, what I want to be able to do is take System.Memory,
> copy it, change a line of code (Put_Line("hello world")), and then
> be able to replace the global allocator with this one. I was able to
> get a replacement body for System.Memory to build with the gnatg
> flag, and was able to get an o file, but whenever i make a simple
> test program it automatically wants to put the original
> System.Memory in and I get duplicate units if I try to bind them.

I'm pretty sure that gnatmake -a recompiles all library units affected
by a change. So if you put your replacement library source in the
normal source path (eg in the current directory) gnatmake -a will
recompile all the library files that use it, automatically applying
the right flags (-gnatpg etc).



      parent reply	other threads:[~2007-07-26 20:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-25 16:11 Problems with dynamic allocation in tasks ldb
2007-07-25 16:45 ` Robert A Duff
2007-07-25 17:04   ` ldb
2007-07-25 17:25     ` Robert A Duff
2007-07-25 18:35     ` Dmitry A. Kazakov
2007-07-26 20:56 ` Simon Wright [this message]
replies disabled

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