From: Per Sandberg <per.sandberg@bredband.net>
Subject: Re: GNAT GPL 2009: Shared library project cannot import static library project?
Date: Sat, 23 Jan 2010 23:07:59 +0100
Date: 2010-01-23T23:07:59+01:00 [thread overview]
Message-ID: <5rK6n.69794$At4.58053@newsfe04.ams2> (raw)
In-Reply-To: <31ebe568-0834-4657-b8aa-5a69ac846dd9@a6g2000yqm.googlegroups.com>
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
prev parent reply other threads:[~2010-01-23 22:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-19 18:02 GNAT GPL 2009: Shared library project cannot import static library project? AndreiK
2010-01-20 13:15 ` AndreiK
2010-01-20 20:12 ` sjw
2010-01-21 19:01 ` Vadim Godunko
2010-01-23 22:07 ` Per Sandberg [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox