comp.lang.ada
 help / color / mirror / Atom feed
From: John Smith <yoursurrogategod@gmail.com>
Subject: Re: The best possible way to call a function in a shared library
Date: Fri, 6 Oct 2017 19:47:00 -0700 (PDT)
Date: 2017-10-06T19:47:00-07:00	[thread overview]
Message-ID: <4a0247bf-cf7e-4088-b97c-88244d094739@googlegroups.com> (raw)
In-Reply-To: <or80ad$1kjq$1@gioia.aioe.org>

On Friday, October 6, 2017 at 9:26:39 AM UTC-4, Dmitry A. Kazakov wrote:
> On 2017-10-06 13:30, John Smith wrote:
> 
> > Good point. I did reference it now in the static_project.gpr. Now
> > it's  complaining about not knowing which language it's dealing with.
> 
> Check GNAT installation, gprconfig must list Ada compiler.
> 
> Library project should at least have:
> 
> library project ... is
>     for Source_Dirs use (...);
>     for Library_Kind use ...;
>     for Library_Name use ...;
>     for Library_Dir use ...;
>     for Library_ALI_Dir use ...;
>     for Externally_Built use "true";
> end ...;
> 
> -- 
> Regards,
> Dmitry A. Kazakov
> http://www.dmitry-kazakov.de

It does:

> gprconfig
--------------------------------------------------
gprconfig has found the following compilers on your PATH.
Only those matching the target and the selected compilers are displayed.
   1. GNAT for Ada in c:\gnat\2016\bin\ version 2016 (default runtime)
   2. GNAT for Ada in c:\gnat\2016\bin\ version 2016 (sjlj runtime)
   3. GNAT for Ada in c:\gnat\2015\bin\ version 2015 (default runtime)
   4. GNAT for Ada in c:\gnat\2015\bin\ version 2015 (sjlj runtime)
   5. GCC-ASM for Asm in c:\gnat\2016\bin\ version 4.9.4
   6. GCC-ASM for Asm in c:\gnat\2016\bin\ version 4.9.4
   7. GCC-ASM for Asm in c:\gnat\2015\bin\ version 4.9.3
   8. GCC-ASM for Asm in c:\gnat\2015\bin\ version 4.9.3
   9. GCC-ASM for Asm2 in c:\gnat\2016\bin\ version 4.9.4
  10. GCC-ASM for Asm2 in c:\gnat\2016\bin\ version 4.9.4
  11. GCC-ASM for Asm2 in c:\gnat\2015\bin\ version 4.9.3
  12. GCC-ASM for Asm2 in c:\gnat\2015\bin\ version 4.9.3
  13. GCC-ASM for Asm_Cpp in c:\gnat\2016\bin\ version 4.9.4
  14. GCC-ASM for Asm_Cpp in c:\gnat\2016\bin\ version 4.9.4
  15. GCC-ASM for Asm_Cpp in c:\gnat\2015\bin\ version 4.9.3
  16. GCC-ASM for Asm_Cpp in c:\gnat\2015\bin\ version 4.9.3
  17. GCC for C in c:\gnat\2016\bin\ version 4.9.4
  18. GCC for C in c:\gnat\2016\bin\ version 4.9.4
  19. GCC for C in c:\gnat\2015\bin\ version 4.9.3
  20. GCC for C in c:\gnat\2015\bin\ version 4.9.3
  21. G++ for C++ in c:\gnat\2016\bin\ version 4.9.4
  22. G++ for C++ in c:\gnat\2015\bin\ version 4.9.3
  23. WINDRES for WinRes in c:\gnat\2016\bin\ version 2.24.51.20140908
  24. WINDRES for WinRes in c:\gnat\2015\bin\ version 2.24.51.20140908


  parent reply	other threads:[~2017-10-07  2:47 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-01 21:06 The best possible way to call a function in a shared library John Smith
2017-10-01 23:51 ` John Smith
2017-10-02  7:15   ` Dmitry A. Kazakov
2017-10-02 11:12     ` John Smith
2017-10-02 11:32       ` Dmitry A. Kazakov
2017-10-02 22:44         ` John Smith
2017-10-03  7:14           ` Dmitry A. Kazakov
2017-10-03 11:32             ` John Smith
2017-10-03 13:43               ` Dmitry A. Kazakov
2017-10-03 23:28                 ` John Smith
2017-10-04  2:10                   ` John Smith
2017-10-04  8:10                     ` Dmitry A. Kazakov
2017-10-04 11:23                       ` John Smith
2017-10-04 11:48                         ` Dmitry A. Kazakov
2017-10-04 11:54                           ` John Smith
2017-10-04 11:59                             ` Dmitry A. Kazakov
2017-10-04 12:04                               ` John Smith
2017-10-04 12:47                                 ` Dmitry A. Kazakov
2017-10-04 15:03                   ` Simon Wright
2017-10-04 23:24                     ` John Smith
2017-10-05 23:55                       ` John Smith
2017-10-06  2:21                         ` John Smith
2017-10-06  6:46                           ` Dmitry A. Kazakov
2017-10-06 11:30                             ` John Smith
2017-10-06 13:26                               ` Dmitry A. Kazakov
2017-10-06 18:57                                 ` Simon Wright
2017-10-06 19:18                                   ` Dmitry A. Kazakov
2017-10-07  2:47                                 ` John Smith [this message]
2017-10-07  3:57                                 ` John Smith
2017-10-07  8:25                                   ` Dmitry A. Kazakov
2017-10-07 11:52                                     ` Simon Wright
2017-10-07 12:57                                     ` John Smith
2017-10-07 13:19                                       ` Dmitry A. Kazakov
2017-10-07 13:28                                         ` John Smith
2017-10-10  3:39                                         ` John Smith
2017-10-10 13:15                                           ` Dmitry A. Kazakov
2017-10-11  0:38                                             ` John Smith
2017-10-11  1:18                                               ` Anh Vo
2017-10-11  1:22                                                 ` John Smith
2017-10-11  1:40                                                   ` Anh Vo
2017-10-11  7:08                                               ` Dmitry A. Kazakov
2017-10-11 12:09                                                 ` John Smith
2017-10-11 13:43                                                   ` Dmitry A. Kazakov
2017-10-11 22:25                                                   ` Randy Brukardt
2017-10-11 22:57                                                     ` John Smith
2017-10-13  0:38                                                       ` John Smith
2017-11-06  6:25                                                       ` Robert Eachus
2017-10-03 14:22               ` Dennis Lee Bieber
2017-10-02  7:30 ` Dmitry A. Kazakov
2017-10-11 14:31   ` John Smith
2017-10-11 15:50     ` John Smith
replies disabled

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