comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Matthews <ignore@ramatthews.free-online.co.uk>
Subject: Re: gnatmem
Date: Tue, 10 Jan 2012 17:08:41 +0000
Date: 2012-01-10T17:08:41+00:00	[thread overview]
Message-ID: <qZWdner9PcUH7ZHSnZ2dnUVZ8q-dnZ2d@brightview.co.uk> (raw)
In-Reply-To: c0dfcd23-3f88-44ad-91d4-1c185ef0884b@w4g2000vbc.googlegroups.com

Ludovic Brenta wrote:

> Robert Matthews wrote:
>> I am trying to use gnatmem on Ubuntu 11.10 with gnat 4.6.1, but I can't
>> find it. It is availabe with the Libre 2011 version but with that version
>> of gnat I get a link error (can't find crt1.0 - but which does exist in
>> /usr/lib/i386-linux-gnu).
>>
>> Please help!
> 
> The fact that gnatmem is not in the package gnat-4.6 is an oversight
> on my part. I'll fix it. Note that the fix will appear in Debian
> unstable, then possibly Debian testing, before it migrates to Ubuntu.
> 
> In the mean time, maybe you can export LD_LIBRARY_PATH=/usr/lib/i386-
> linux-gnu and run the gnatmem from GNAT GPL Edition. Or, you can use
> valgrind.
> 
> --
> Ludovic Brenta.
> gnat maintainer in Debian

I just tried setting LD_LIBRARY_PATH but the linker (with GNAT GPL 2011)
still complains it cannot find crt1.o (sorry: I put crt1.0 earlier). 
Curiously I don't get that error with gnat 4.6.1.

As for valgrind - that gives me a HUGE number of memory leak messages,
the bulk to do with Gtk and seemingly unrelated to my code - I wonder if 
on Unbuntu "G_SLICE=always-malloc" and "G_DEBUG=gc-friendly" are ignored.

Robert



  reply	other threads:[~2012-01-10 17:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-10 15:26 gnatmem Robert Matthews
2012-01-10 16:00 ` gnatmem Ludovic Brenta
2012-01-10 17:08   ` Robert Matthews [this message]
2012-01-10 17:20     ` gnatmem Georg Bauhaus
2012-01-10 18:50       ` gnatmem Robert Matthews
2012-01-12 11:41   ` gnatmem Ludovic Brenta
  -- strict thread matches above, loose matches on Subject: below --
2009-05-30 10:42 gnatmem Olivier Scalbert
2009-06-01 15:55 ` gnatmem Rob Norris
replies disabled

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