From: Simon Wright <simon.j.wright@mac.com>
Subject: Re: Problems with gcov
Date: Thu, 01 Feb 2007 06:39:19 +0000
Date: 2007-02-01T06:39:19+00:00 [thread overview]
Message-ID: <m2hcu64c14.fsf@grendel.local> (raw)
In-Reply-To: 1170165978.983437.308430@v33g2000cwv.googlegroups.com
igor.prakljacic@gmail.com writes:
> % gnatmake -fprofile-arcs -ftest-coverage helloworld.adb
> gnatgcc -c -fprofile-arcs -ftest-coverage helloworld.adb
> gnatbind -x helloworld.ali
> gnatlink helloworld.ali
>
> % ls
> helloworld helloworld.adb helloworld.ali helloworld.bb
> helloworld.bbg helloworld.o
>
> % ./helloworld
> Hello World
>
> % ls
> helloworld helloworld.adb helloworld.ali helloworld.bb
> helloworld.bbg helloworld.o
GNATs based on GCC 2 (eg, GNAT 3.15p) use the .bb and .bbg files, and
the output would be in .da files. GNAT GPL 2006 (on Mac OS X at any
rate) uses the .gcno and .gcda files.
Ah! On this machine I get
$ gnatmake -fprofile-arcs -ftest-coverage helloworld.adb -f
gcc -c -fprofile-arcs -ftest-coverage helloworld.adb
gnatbind -x helloworld.ali
gnatlink helloworld.ali -fprofile-arcs -ftest-coverage
so the gnatlink call is different ...
prev parent reply other threads:[~2007-02-01 6:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-30 14:06 Problems with gcov igor.prakljacic
2007-01-30 20:35 ` Jeffrey Creem
2007-02-01 6:39 ` 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