Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Ada > Re: gnatmake: "...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 11 Topic 5662 of 5931
Post > Topic >>

Re: gnatmake: "ada.numerics.real_arrays" is not a predefined library unit

by Ludovic Brenta <ludovic@[EMAIL PROTECTED] > Apr 21, 2008 at 09:35 PM

Samuel Tardieu writes:
>>>>>> "Ludovic" == Ludovic Brenta <ludovic@[EMAIL PROTECTED]
> writes:
>
> Ludovic> It's been in the back of my mind for a few months that I
> Ludovic> should build a shared libgnala.so, package it separately from
> Ludovic> libgnat-4.3.so, and arrange for it to depend on
> Ludovic> lapack. Patches to that effect are, of course, welcome and
> Ludovic> will be gratefully accepted.
>
> Maybe we can work out the shared/static issue in GCC sources. Patches
> welcome too there :)

Definitely; this is an area where all distributions would benefit.
However, Debian is a bit peculiar since it patches the library
building process (in gcc/ada/Makefile.in) heavily so as to build both
the zero-cost and setjump/longjump versions of the library.  So, if I
produce a patch, someone will have to adjust it for upstream GCC.

> Concerning the distribution, why separate libgnala.so from libgnat?
> You don't need a dependency on lapack/blas, only a "suggests" or
> "recommends" if people want to build applications requiring annex g
> sup****t. As far as compiled applications are concerned, the
> lapack/blas dependency will be recored as part of a regular Debian
> dependency.

"Suggests" or "Recommends" is not good enough because it would foil
the automatic dependency management Debian is renowned for.  The
proper solution is to place libgnala.so in a separate package
(suggested or recommended by gnat-4.3) but that Depends on
(i.e. requires) lapack to be installed.  This way, if someone builds a
package where they use Annex G, their package will automatically
depend on libgnala.so and, indirectly, on lapack.  With your proposal,
this would not happen as lapack would be only recommended.

-- 
Ludovic Brenta.
 




 11 Posts in Topic:
gnatmake: "ada.numerics.real_arrays" is not a predefined library
Reinert Korsnes <a@[EM  2008-04-21 13:34:42 
Re: gnatmake: "ada.numerics.real_arrays" is not a predefined lib
Georg Bauhaus <rm.dash  2008-04-21 14:28:41 
Re: gnatmake: "ada.numerics.real_arrays" is not a predefined lib
Ludovic Brenta <ludovi  2008-04-21 06:46:15 
Re: gnatmake: "ada.numerics.real_arrays" is not a predefined lib
Samuel Tardieu <sam@[E  2008-04-21 19:01:42 
Re: gnatmake: "ada.numerics.real_arrays" is not a predefined lib
Ludovic Brenta <ludovi  2008-04-21 21:35:26 
Re: gnatmake: "ada.numerics.real_arrays" is not a predefined lib
Samuel Tardieu <sam@[E  2008-04-21 22:35:44 
Re: gnatmake: "ada.numerics.real_arrays" is not a predefined lib
Ludovic Brenta <ludovi  2008-04-21 23:05:33 
Re: gnatmake: "ada.numerics.real_arrays" is not a predefined lib
Simon Wright <simon.j.  2008-04-22 21:13:27 
Re: gnatmake: "ada.numerics.real_arrays" is not a predefined lib
Jerry <lanceboyle@[EMA  2008-04-21 14:34:17 
Re: gnatmake: "ada.numerics.real_arrays" is not a predefined lib
Samuel Tardieu <sam@[E  2008-04-22 12:46:38 
Re: gnatmake: "ada.numerics.real_arrays" is not a predefined lib
Ludovic Brenta <ludovi  2008-04-22 05:04:39 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Oct 15 22:29:00 CDT 2008.