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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fcc2d88d867060e8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-22 11:30:03 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!c03.atl99!news.webusenet.com!diablo.voicenet.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr24.news.prodigy.com.POSTED!7db1df25!not-for-mail From: lifetime n00b User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031014 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: load and use a ".o" file? References: <132Fb.3462$I02.2996@newssvr23.news.prodigy.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 66.138.57.20 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr24.news.prodigy.com 1072121389 ST000 66.138.57.20 (Mon, 22 Dec 2003 14:29:49 EST) NNTP-Posting-Date: Mon, 22 Dec 2003 14:29:49 EST Organization: SBC http://yahoo.sbc.com X-UserInfo1: Q[R_@SZDWJTGRQHX@BCBNWX@RJ_XPDLMN@GZ_GYO^BTBTSUBYFWEAE[YJLYPIWKHTFCMZKVMB^[Z^DOBRVVMOSPFHNSYXVDIE@X\BUC@GTSX@DL^GKFFHQCCE\G[JJBMYDYIJCZM@AY]GNGPJD]YNNW\GSX^GSCKHA[]@CCB\[@LATPD\L@J\\PF]VR[QPJN Date: Mon, 22 Dec 2003 19:29:49 GMT Xref: archiver1.google.com comp.lang.ada:3709 Date: 2003-12-22T19:29:49+00:00 List-Id: Stephen Leake wrote: > You are re-inventing the wheel! No, I'm just trying to find the wheel I need! Honest. If I thought I'd have to reinvent the thing, I'd be the first to point out that I'm the last one qualified to do so, and then I'd just try to find a square I could use instead (in this case, maybe a byte-code VM?). :-) > It may seem straightforward, but it gets quite complicated. So I have found. > Fortunately, it has been solved. I think I may be able to use dlopen and dlsym on Linux with an Ada wrapper, but I was hoping for an Ada-only solution that would be cross-platform (letting gnat take all the nasty details from me). But that's just me hoping for a wheel that can fly... > Most good ideas have been thought of before :). And almost all of them were thought of by Kepler (just don't tell that to Newton)! :)