comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: ANN: Ada 2005 Math Extensions, 20100901 release
Date: Sat, 04 Sep 2010 16:23:11 +0100
Date: 2010-09-04T16:23:11+01:00	[thread overview]
Message-ID: <m2pqwtmt28.fsf@pushface.org> (raw)
In-Reply-To: 5c42e8bf-b12d-4c92-9eb6-5b056832352a@l20g2000yqe.googlegroups.com

Ada novice <ycalleecharan@gmx.com> writes:

> I'm not proud of course that I don't understand how to use Aunit, but
> can I just separate the three files as I did above and try to run
> test_extensions.adb?

With some difficulty.

It'd be easier to keep the directory structure as-distributed and

  1) go to the test directory

  2) gnatmake -p -P test_extensions.gpr

This way the extra compiler options needed to build what look like
components of the standard Ada library will be automatically supplied by
src/ada_math_build.gpr.

This is what it looks like for me (it will be different for you, since
you are on Windows (I think), and in any case your directory structures
won't be the same):

$ cd test
$ gnatmake -p -P test_extensions.gpr
object directory "/Users/simon/gnat-math-extn/gnat-math-extn-20100901/src/.build" created for project ada_math_build
library directory "/Users/simon/gnat-math-extn/gnat-math-extn-20100901/src/../lib" created for project ada_math_build
object directory "/Users/simon/gnat-math-extn/gnat-math-extn-20100901/test/.build" created for project test_extensions
gcc -c -g -gnatpg -gnatqQ -gnatafo -gnatwaL -gnat05 -I- -gnatA /Users/simon/gnat-math-extn/gnat-math-extn-20100901/src/ada-numerics-generic_arrays.adb
gcc -c -g -gnatqQ -gnat05 -I- -gnatA /Users/simon/gnat-math-extn/gnat-math-extn-20100901/test/test_extensions.adb

building static library for project ada_math_build
ar cr /Users/simon/gnat-math-extn/gnat-math-extn-20100901/lib/libada_math.a /Users/simon/gnat-math-extn/gnat-math-extn-20100901/src/.build/ada-numerics-generic_arrays.o
ranlib /Users/simon/gnat-math-extn/gnat-math-extn-20100901/lib/libada_math.a
gnatbind -E -I- -x /Users/simon/gnat-math-extn/gnat-math-extn-20100901/test/.build/test_extensions.ali
gnatlink /Users/simon/gnat-math-extn/gnat-math-extn-20100901/test/.build/test_extensions.ali -g -L/Users/simon/gnat-math-extn/gnat-math-extn-20100901/lib/ -lada_math -Wl,-rpath,/opt/gnat-gpl-2010-x86_64/lib/gcc/x86_64-apple-darwin9.6.0/4.3.6/adalib/ -o /Users/simon/gnat-math-extn/gnat-math-extn-20100901/test/test_extensions



  reply	other threads:[~2010-09-04 15:23 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-01 20:13 ANN: Ada 2005 Math Extensions, 20100901 release Simon Wright
2010-09-02 15:40 ` Ada novice
2010-09-02 22:12   ` jonathan
2010-09-03  2:08     ` John B. Matthews
2010-09-03  5:58       ` Simon Wright
2010-09-03 13:48         ` John B. Matthews
2010-09-03 23:32       ` jonathan
2010-09-04 11:12         ` Ada novice
2010-09-04 15:23           ` Simon Wright [this message]
2010-09-04 17:03             ` Simon Wright
2010-09-04 17:03             ` Ada novice
2010-09-04 18:19               ` Simon Wright
2010-09-05  0:32           ` jonathan
2010-09-05 11:38             ` Ada novice
2010-09-07 16:01               ` jonathan
2010-09-07 17:16                 ` Nasser M. Abbasi
2010-09-06 19:49             ` Simon Wright
2010-09-06 21:04               ` jonathan
2010-09-07  7:45               ` Ada novice
2010-09-07 12:45                 ` sjw
2010-09-22 11:50               ` Ada novice
2010-09-22 12:08                 ` AdaMagica
2010-09-22 12:49                   ` Ada novice
2010-09-23 20:26                 ` Simon Wright
2010-09-24 10:18                   ` Ada novice
2010-09-28 20:46                     ` Ada novice
2010-10-02 18:29                       ` Simon Wright
2010-10-02 20:51                         ` Ada novice
2010-10-02 22:27                           ` Nasser M. Abbasi
2010-10-03 11:14                             ` Brian Drummond
2010-10-04 19:17                             ` Simon Wright
2010-09-07 12:56             ` sjw
2010-09-07 15:51               ` jonathan
replies disabled

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