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!news2.google.com!news.glorb.com!feeder.erje.net!feeder2.news.saunalahti.fi!uutiset.elisa.fi!7564ea0f!not-for-mail From: Tero Koskinen Newsgroups: comp.lang.ada Subject: Re: Gnat says libraries are not supported. Message-Id: <20090622193338.a06069a1.tero.koskinen@iki.fi> References: <7a4m6uF1toatnU1@mid.individual.net> <4a3fadc9@news.post.ch> X-Newsreader: Sylpheed 2.5.0 (GTK+ 2.14.7; i386-unknown-openbsd4.5) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: Mon, 22 Jun 2009 19:33:38 +0300 NNTP-Posting-Host: 85.156.186.106 X-Complaints-To: newsmaster@saunalahti.com X-Trace: uutiset.elisa.fi 1245688420 85.156.186.106 (Mon, 22 Jun 2009 19:33:40 EEST) NNTP-Posting-Date: Mon, 22 Jun 2009 19:33:40 EEST Organization: Elisa Customer Xref: g2news2.google.com comp.lang.ada:6568 Date: 2009-06-22T19:33:38+03:00 List-Id: On Mon, 22 Jun 2009 18:14:00 +0200 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. >=20 > Funny that you say - the Mac OS X 4.3 says the same. >=20 > Martin I have seen same with GNAT GPL 2008 on Windows and FSF GCC 4.5 on OpenBSD. The warning comes from gcc/ada/prj-nmsc.adb: > if Data.Library then > if Get_Mode =3D Multi_Language then > Support_For_Libraries :=3D Data.Config.Lib_Support; >=20 > else > Support_For_Libraries :=3D MLib.Tgt.Support_For_Libraries; > end if; >=20 > if Support_For_Libraries =3D Prj.None then > Error_Msg > (Project, In_Tree, > "?libraries are not supported on this platform", > Lib_Name.Location); > Data.Library :=3D False; >=20 > else ... --=20 Tero Koskinen - http://iki.fi/tero.koskinen/