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: a07f3367d7,2bf29147cdba9fd8 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!f30g2000vbf.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Gnat says libraries are not supported. Date: Sat, 20 Jun 2009 14:41:03 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <7a4m6uF1toatnU1@mid.individual.net> NNTP-Posting-Host: 94.108.188.177 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1245534063 17640 127.0.0.1 (20 Jun 2009 21:41:03 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 20 Jun 2009 21:41:03 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: f30g2000vbf.googlegroups.com; posting-host=94.108.188.177; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.7) Gecko/2009030810 Iceweasel/3.0.9 (Debian-3.0.9-1),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:6555 Date: 2009-06-20T14:41:03-07:00 List-Id: Bj=F6rn Persson wrote: > I have a problem with Gnat of GCC 4.4.0 on Fedora 11. When Gnatmake > encounters a Library_Name attribute in a project file, it says "warning: > libraries are not supported on this platform", and I can't get it to > generate any shared libraries. > > Does anyone know what that warning means? That Fedora wouldn't support > libraries is just plain wrong. Has Gnat somehow been built without suppor= t > for libraries? This indicates that GCC was compiled with the wrong version of mlib- tgt.adb. In GCC 4.4, the proper version was renamed from mlib-tgt- linux.adb to mlib-tgt-specific-linux.adb. I know because I had to fix this problem for the Debian package, which is now in the NEW queue awaiting inspection by an FTP master. -- Ludovic Brenta.