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-Thread: 103376,a62a07ac1f6d2c9f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!cox.net!news-xfer.cox.net!p01!lakeread05.POSTED!53ab2750!not-for-mail From: David Emery User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Apex and Ada References: <42c04d05$1@news.bezeqint.net> In-Reply-To: <42c04d05$1@news.bezeqint.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Fri, 01 Jul 2005 16:09:25 -0400 NNTP-Posting-Host: 24.249.249.75 X-Complaints-To: abuse@cox.net X-Trace: lakeread05 1120248564 24.249.249.75 (Fri, 01 Jul 2005 16:09:24 EDT) NNTP-Posting-Date: Fri, 01 Jul 2005 16:09:24 EDT Organization: Cox Communications Xref: g2news1.google.com comp.lang.ada:11816 Date: 2005-07-01T16:09:25-04:00 List-Id: This sent me to the "wayback machine", I haven't done this in about 8 years (since I left the CAATS program)... There's an option in Apex to produce the linker command line. What you need to do is generate the ld command line, and then you can grab all the ".o" files to produce an archive. BUT: You have to worry about the elaboration entry point. You can't just link in an Ada archive into an executable, and expect everything to work correctly. You have to make sure that the main program that you link with the archive will call the elaboration entry point before any other Ada unit is called. dave Arieh Bibliowicz wrote: > I need help creating an archive library (.a file in unix) in Apex Ada. > Does anyone know how to do this? > thanks > > Arieh > >