comp.lang.ada
 help / color / mirror / Atom feed
* Gnat2007 and Ada.Numerics.Generic_Real_Arrays
@ 2007-05-25 17:12 Yves Bailly
  2007-05-25 18:47 ` Anh Vo
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Yves Bailly @ 2007-05-25 17:12 UTC (permalink / raw)


Hello all,

I just downloaded Gnat2007, then tried this little program:
--8<-----8<-----8<-----8<-----8<-----8<-----8<---
with Ada.Numerics.Long_Real_Arrays;
use Ada.Numerics.Long_Real_Arrays;
procedure Test_Matrix is
   v: Real_Vector(1..3) := (1.0, 2.0, 3.0);
   d: Long_Float := v*v;
begin
   null;
end Test_Matrix;
--8<-----8<-----8<-----8<-----8<-----8<-----8<---

But when trying to create the executable, I get a link error:
--8<-----8<-----8<-----8<-----8<-----8<-----8<---
gnatlink /home/yves/Programs/Ada/test_matrix.ali -o /home/yves/Programs/Ada/test_matrix
/home/yves/Programs/Ada/test_matrix.o: In function `_ada_test_matrix':
test_matrix.adb:(.text+0x40): undefined reference to
`ada__numerics__long_real_arrays__Omultiply'
--8<-----8<-----8<-----8<-----8<-----8<-----8<---

Nothing about those packages in the provided doc... Too bad, I've
been waiting for those packages since they appeared in the RM.
Am I missing something?

Any hint would be much appreciated!

--   Yves Bailly




^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-06-06  8:19 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-25 17:12 Gnat2007 and Ada.Numerics.Generic_Real_Arrays Yves Bailly
2007-05-25 18:47 ` Anh Vo
2007-05-25 18:59   ` Gautier
2007-05-26  7:53     ` Dmitry A. Kazakov
2007-05-26  9:31       ` Georg Bauhaus
2007-05-26 10:21         ` Dmitry A. Kazakov
2007-05-29  8:56           ` Ken
2007-05-29 10:47             ` Yves Bailly
2007-06-01  9:40               ` Ken
2007-05-28 10:19         ` Dirk Craeynest
2007-06-01  2:01 ` Anh Vo
2007-06-06  8:19 ` Maxim Reznik

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