comp.lang.ada
 help / color / mirror / Atom feed
From: Andrei Krivoshei <andrei.krivoshei@gmail.com>
Subject: Re: Shared library project
Date: Thu, 10 Jun 2010 05:50:17 -0700 (PDT)
Date: 2010-06-10T05:50:17-07:00	[thread overview]
Message-ID: <f1b00644-6189-45d5-ac67-92164a3ead88@q12g2000yqj.googlegroups.com> (raw)
In-Reply-To: op.vd1ebtqfule2fv@garhos

> What was your original intent please?

My original intent:

The dinamic library project, say A project, (the final product)
shoould import some another project, say B project, (collection of
functions and objects- tagged records and etc).
I am myself the author of the both projects, therefore for me doesn't
matter what kind of project I select for B. But the final library
project must be compiled correctly.

Ok, if "A library project can only import library projects.", then why
I cannot import the static library project into dynamic library
project?
If I try do this, the gnatmake gives: [mlcb_fe_dll.gpr:3:09: shared
library project "mlcb_fe_dll" cannot import static library project
"sp_lib"]
Thus, if I want to build the dynamic library project, which uses
another projects, then I need to change the type of those projects to
'dynamic', and consequently, the resulting library, A.dll (for the
Windows) MUST be supplyed by whole complect of others libraries
(B.dll, C.dll, ...), which were imported into project A?

With regards,
Andrei



  parent reply	other threads:[~2010-06-10 12:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-02 11:05 Shared library project AndreiK
2010-06-02 11:09 ` AndreiK
2010-06-02 11:46   ` Yannick Duchêne (Hibou57)
2010-06-09 11:33     ` AndreiK
2010-06-09 14:24       ` Yannick Duchêne (Hibou57)
2010-06-10  5:10         ` AdaMagica
2010-06-10 12:50         ` Andrei Krivoshei [this message]
2010-06-10 13:04           ` Yannick Duchêne (Hibou57)
2010-06-10 19:53             ` Simon Wright
2010-06-10 13:48           ` Dmitry A. Kazakov
2010-06-02 12:02   ` 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