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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f596f25a850be886,start X-Google-Attributes: gid103376,public From: colvert@elmco.com (colvert) Subject: Static linking of GNAT library Date: 2000/08/23 Message-ID: #1/1 X-Deja-AN: 661586221 X-Abuse-Info: Otherwise we will be unable to process your complaint properly X-Complaints-To: support@usenetserver.com Organization: ELMCO, Incorporated XDisclaimer: User not authenticated NNTP-Posting-Date: Wed, 23 Aug 2000 12:08:07 EDT Newsgroups: comp.lang.ada Date: 2000-08-23T00:00:00+00:00 List-Id: Greetings All, I have a large simulation that I have developed for a customer using SG Ada95 1.4 on a Silicon Graphics O2 platform. My customer does not have a development environment on his platform. My simulation links with the GNAT library shared object (libgnat-3.13w.so). Since my customer does not have this shared object, how can I statically link in the archive library (libgnat-3.13w.a) as part of my simulation? I tried adding the archive to the "-largs" portion of my "gnatmake" command, but that did not change anything. I tried to add the "-static" option in front of that, but it complained that other objects could not be statically linked. Any help you could provide would be greatly appreciated. My customer expects delivery within a week. I need to have this problem solved quickly. Thank you for your time and consideration.