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-Thread: a07f3367d7,ac282e2ce1856983,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.224.207.66 with SMTP id fx2mr5592993qab.7.1353187675138; Sat, 17 Nov 2012 13:27:55 -0800 (PST) Received: by 10.49.24.13 with SMTP id q13mr1694181qef.33.1353187675112; Sat, 17 Nov 2012 13:27:55 -0800 (PST) Path: gf5ni327qab.0!nntp.google.com!u2no5657506qal.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 17 Nov 2012 13:27:54 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=93.31.76.136; posting-account=8d09TQoAAABfRcShpwGWqnP3uHTX4jPE NNTP-Posting-Host: 93.31.76.136 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: libraries are not supported on this platform From: Vincent Aurele Injection-Date: Sat, 17 Nov 2012 21:27:55 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-11-17T13:27:54-08:00 List-Id: Hi, I have a cross-compiler (target: arm-none-eabi) and I'm trying to compile m= y project with it. This project use a precompiled (static) C library so I h= ave defined a 'library project' in lib.gpr with 'for Externally_Built use "= True";'. Using my standard gnatmake, it works fine but when I try to compil= e my project with the cross-compiler, I have an error: lib.gpr:8:24: warning: libraries are not supported on this platform and my lib is not used by the linker (so the link fails) I understand that my target don't support dynamic library but static librar= y are perfectly fine, so I think it should be work. Is this an issue with my cross-compiler? Is there a way to make it work?=20 Thanks