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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!f12g2000yqn.googlegroups.com!not-for-mail From: AndreiK Newsgroups: comp.lang.ada Subject: Re: GNAT GPL 2009: Shared library project cannot import static library project? Date: Wed, 20 Jan 2010 05:15:36 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <31ebe568-0834-4657-b8aa-5a69ac846dd9@a6g2000yqm.googlegroups.com> NNTP-Posting-Host: 193.40.240.135 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1263993336 19326 127.0.0.1 (20 Jan 2010 13:15:36 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 20 Jan 2010 13:15:36 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: f12g2000yqn.googlegroups.com; posting-host=193.40.240.135; posting-account=kfQcmwoAAAAImQIpF8z0neulU3uSEwPV User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:8802 Date: 2010-01-20T05:15:36-08:00 List-Id: On Jan 19, 8:02=A0pm, AndreiK wrote: > 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 More exactly, I have used the next sequence of commands: # gnatmake -c -gnatc -PMyProject.gpr -d -XLegacy=3DAda2005 # gnatdll -d ../libMyDLL.dll -e ./src/libMyDLL.def -I../obj -n ../obj/ mydll.ali Thank everybody for possible assistance! Andrei