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,2bf29147cdba9fd8 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!j18g2000yql.googlegroups.com!not-for-mail From: sjw Newsgroups: comp.lang.ada Subject: Re: Gnat says libraries are not supported. Date: Mon, 22 Jun 2009 13:03:10 -0700 (PDT) Organization: http://groups.google.com Message-ID: <16cdf9c4-e6fe-45ed-9fa0-a38204308677@j18g2000yql.googlegroups.com> References: <7a4m6uF1toatnU1@mid.individual.net> <4a3fadc9@news.post.ch> NNTP-Posting-Host: 82.20.239.89 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1245700990 10353 127.0.0.1 (22 Jun 2009 20:03:10 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 22 Jun 2009 20:03:10 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: j18g2000yql.googlegroups.com; posting-host=82.20.239.89; posting-account=_RXWmAoAAADQS3ojtLFDmTNJCT0N2R4U User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7; en-us) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Safari/530.17,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:6570 Date: 2009-06-22T13:03:10-07:00 List-Id: On Jun 22, 5:14=A0pm, Martin Krischik wrote: > Bj=F6rn Persson schrieb: > > > 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. > > Funny that you say - the Mac OS X 4.3 says the same. gprbuild is quite capable of building shared libraries on (intel) Mac OS X with both GCC 4.3.3 and GNAT GPL 2009. So is gnatmake so long as there are only Ada sources. Where there is an issue is with locating the shared libraries at run time. GNAT GPL 2009 gets this right - to an extent - but sometimes it's easier to just set DYLD_LIBRARY_PATH. Or to use static libraries!