From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, FREEMAIL_REPLY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e129fce28b791a21,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-12-30 19:42:48 PST Path: supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!europa.netcrusader.net!152.163.239.129!portc01.blue.aol.com!audrey05.news.aol.com!not-for-mail X-Admin: news@aol.com From: jthecorbys@aol.comiluvspam (Matt Corby) Newsgroups: comp.lang.ada Date: 31 Dec 2000 03:38:03 GMT Organization: AOL http://www.aol.com Subject: Dynamic Linking (as in dlfcn.h for c)? Message-ID: <20001230223803.03778.00000020@ng-mm1.aol.com> Xref: supernews.google.com comp.lang.ada:3483 Date: 2000-12-31T03:38:03+00:00 List-Id: I am in the design stages of writing a program which must load shared libraries at run time. It will need to load possibly several dozen to over a hundred shared libraries, depending on how many the user needs. It is a real-time sound producing system, which means CORBA, etc. are ruled out for performance reasons. I have done a small amount of coding ( < 1000 lines) for the program already, and used the dlfcn.h and dl.so library (on red hat linux) to implement the plugin infrastructure using shared libraries. Does Ada (i have GNAT 3.13p) have a clean way to implement this. It would be preferable if the .so files that it loads can be in any language, but it is not a requirement. I could write an Ada binding to dlfcn.h, but i'm a beginner at Ada, and not too experienced with c either (most of my programming has been with x86 assembler) so i'm not sure if i could do it. Also i would like it if there was an Ada way to do this. Thanks, Matt Corby (mattcorby@yahoo.com)