Simon Wright <[email protected]> writes:

> The reason why the dynamic libraries build with ".so" in the name is in 
> opentoken_lib.gpr:
>
>   for Library_Version use "libopentoken.so." & Version;

Ok. I didn't realize that the only problem was the name.

> On Darwin that should be
>
>   for Library_Version use "libopentoken.dylib." & Version;

Ok. We can easily add another External variable for this.

> and it *may* be that AdaCore have a fix for this problem, but I can't
> see it in GPRBUILD GPL 2013. Perhaps there should be a bug report.

If you mean they would pick a good name by default, just comment out
that line and see what happens.

> On Mac OS X it's important to build shared libraries with gprbuild,
> not gnatmake, because only gprbuild knows how to do it properly. Is
> there a reason you use gnatmake for this?

No; feel free to change it.

> I see you use LIBTYPE with values "static", "dynamic". AdaCore's "standard" 
> appears to be LIBRARY_TYPE with values "static", "relocatable".
>
>
> If I make both static and dynamic libraries and install, I end up with only 
> one set of .ali's. AdaCore tend to deal with this using
>
>    for Library_Dir use "lib-" & Library_Type;         (or Libtype using your 
> convention)
>
>
> I think that opentoken_lib.gpr shouldn't specify -fPIC, because
> gprbuild knows when to do this (specifically, not when LIBTYPE is
> "static"!)

Ok. I've never tested with any of these libraries. If you've got an
application that uses the OpenToken library, please change the .gpr and
.make to your pleasure, and test.

> How do you pronounce "Stephe"? (off-topic, I know, but I like to hear
> the voice in my head …)

The "ph" sounds like "v". I started spelling it that way 30 years ago
when I was in an office with 4 "steve"s

> Thanks for all the great work …

You're welcome.

-- 
-- Stephe

_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org

Reply via email to