From: Tero Koskinen <tero.koskinen@iki.fi>
Subject: Re: Gnat says libraries are not supported.
Date: Mon, 22 Jun 2009 19:33:38 +0300
Date: 2009-06-22T19:33:38+03:00 [thread overview]
Message-ID: <20090622193338.a06069a1.tero.koskinen@iki.fi> (raw)
In-Reply-To: 4a3fadc9@news.post.ch
On Mon, 22 Jun 2009 18:14:00 +0200 Martin Krischik wrote:
> Björn 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.
>
> 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 = Multi_Language then
> Support_For_Libraries := Data.Config.Lib_Support;
>
> else
> Support_For_Libraries := MLib.Tgt.Support_For_Libraries;
> end if;
>
> if Support_For_Libraries = Prj.None then
> Error_Msg
> (Project, In_Tree,
> "?libraries are not supported on this platform",
> Lib_Name.Location);
> Data.Library := False;
>
> else
...
--
Tero Koskinen - http://iki.fi/tero.koskinen/
next prev parent reply other threads:[~2009-06-22 16:33 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-20 17:56 Gnat says libraries are not supported Björn Persson
2009-06-20 21:41 ` Ludovic Brenta
2009-06-21 14:20 ` Björn Persson
2009-06-22 7:35 ` Ludovic Brenta
2009-06-22 9:25 ` Tomek Wałkuski
2009-06-29 9:24 ` Martin Krischik
2009-06-29 10:15 ` Ludovic Brenta
2009-07-25 18:23 ` Björn Persson
2009-07-25 19:22 ` Tomek Wałkuski
2009-07-26 12:35 ` Björn Persson
2009-08-21 6:59 ` Tomek Wałkuski
2009-08-21 9:35 ` Björn Persson
2009-07-26 10:13 ` Ludovic Brenta
2009-06-22 16:14 ` Martin Krischik
2009-06-22 16:33 ` Tero Koskinen [this message]
2009-06-22 17:31 ` John B. Matthews
2009-06-22 20:03 ` sjw
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox