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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,571930b4ff0bc1ee X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-04 07:12:19 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!sunqbc.risq.qc.ca!cpk-news-hub1.bbnplanet.com!news.gtei.net!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed.mesh.ad.jp!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison Sender: usenet@www.newsranger.com References: <3AC03CCE.70E3C2D5@mida.se> <3AC18DD1.EF25CE42@mida.se> <5mzw6.415$1H6.72722473@newssvr16.news.prodigy.com> <3AC2EB17.33AAEC0A@mida.se> <3ACAD2B2.4252FD7B@mida.se> Subject: Re: Compile time executed functions Message-ID: Date: Wed, 04 Apr 2001 14:05:33 GMT NNTP-Posting-Host: 209.208.22.130 X-Complaints-To: abuse@newsranger.com X-Trace: www.newsranger.com 986393133 209.208.22.130 (Wed, 04 Apr 2001 10:05:33 EDT) NNTP-Posting-Date: Wed, 04 Apr 2001 10:05:33 EDT Organization: http://www.newsranger.com Xref: supernews.google.com comp.lang.ada:6446 Date: 2001-04-04T14:05:33+00:00 List-Id: In article <3ACAD2B2.4252FD7B@mida.se>, Mats Karlssohn says... > >Ted Dennison wrote: >%< >> For that matter, with a little investigation into your platform's object file >> formats, you could just have your program directly create an object file with >> the data in it, and "pragma Import" it and link it with your Ada code. On an >Well actually this is what I decided to do during the weekend. >Since i have GNU libbfd.so creating an object file should be >pretty easy and GNU objcopy can be a friend when the need to :-) It always warms my heart to see someone writing a compiler in Ada (even if they don't always realize that's what they are doing). --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html home email - mailto:dennison@telepath.com