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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,54f7f479fcf42585 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.189.202 with SMTP id gk10mr2018292pbc.4.1326215324060; Tue, 10 Jan 2012 09:08:44 -0800 (PST) Path: lh20ni164281pbb.0!nntp.google.com!news1.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!217.73.144.44.MISMATCH!ecngs!feeder.ecngs.de!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail NNTP-Posting-Date: Tue, 10 Jan 2012 11:08:42 -0600 From: Robert Matthews Date: Tue, 10 Jan 2012 17:08:41 +0000 User-Agent: KNode/4.7.3 Subject: Re: gnatmem Newsgroups: comp.lang.ada References: MIME-Version: 1.0 Message-ID: X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-KlUPkJB8KDxHp7tmWosD624e7gqHCpAGj+zU5HZr731hnzkmuIhow77D6o6wdGwLUVRo6yMinjlMcOK!77V8HbYXrgdlJpAeGCiN8EsTV5WabWss06xKDm2eVae5K/871gwDq+WAXYQNmAEoFb7XN9ZKWkUB!3ul/kZCmHXKOnen9tTpx+LXU X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2256 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Date: 2012-01-10T17:08:41+00:00 List-Id: 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