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,608393cde8a744e3 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!npeer03.iad.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!feeder.erje.net!xlned.com!feeder3.xlned.com!feeder.news-service.com!cyclone03.ams2.highwinds-media.com!news.highwinds-media.com!npeersf02.ams.highwinds-media.com!newsfe04.ams2.POSTED!40385e62!not-for-mail From: Per Sandberg User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-3.fc11 Thunderbird/3.0 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: GNAT GPL 2009: Shared library project cannot import static library project? References: <31ebe568-0834-4657-b8aa-5a69ac846dd9@a6g2000yqm.googlegroups.com> In-Reply-To: <31ebe568-0834-4657-b8aa-5a69ac846dd9@a6g2000yqm.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <5rK6n.69794$At4.58053@newsfe04.ams2> X-Complaints-To: abuse@WWWSpace.NET NNTP-Posting-Date: Sat, 23 Jan 2010 22:08:01 UTC Date: Sat, 23 Jan 2010 23:07:59 +0100 Xref: g2news1.google.com comp.lang.ada:8818 Date: 2010-01-23T23:07:59+01:00 List-Id: Having a dynamic library importing a static library may lead to very "interesting" behavior of programs in a larger context, if there is any "static" data in the static library and therefore this is treated as an error by default with the GNAT tools. This default behaviour could be supressed with switches to gprbuild if you know what you are doing and have read the manuals in depth and understand all the implications. /Per 2010-01-19 19:02, AndreiK skrev: > Hello everybody! > > Can some body help me? > I have tryed to compile a shared library project using: "GPS 4.3.1 > (20090114) hosted on pentium-mingw32msv& GNAT GPL 2009 (20090519)". > > My shared library project imports a static library project and > compiler (gnatmake) raise an error: "Shared library project cannot > import static library project". Why??? > > Using the GNAT GPL 2008 with the same projects dont raise any errors. > > Thank evrebody for you help. > > Andrei