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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,eed2d3a237734411 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!f14g2000vbn.googlegroups.com!not-for-mail From: sjw Newsgroups: comp.lang.ada Subject: Re: Shared library project Date: Wed, 2 Jun 2010 05:02:41 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <9dcc29a0-fb04-4a2a-9f3a-1678a509358c@o4g2000vbo.googlegroups.com> NNTP-Posting-Host: 20.133.0.13 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1275480162 10413 127.0.0.1 (2 Jun 2010 12:02:42 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 2 Jun 2010 12:02:42 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: f14g2000vbn.googlegroups.com; posting-host=20.133.0.13; posting-account=_RXWmAoAAADQS3ojtLFDmTNJCT0N2R4U User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:12199 Date: 2010-06-02T05:02:41-07:00 List-Id: On Jun 2, 12:09=A0pm, AndreiK wrote: > The "X" project file is: In general, different compiler options (eg -fpic) are needed when compiling a shared library; so your CPP_AdFilters project might use the wrong options. Each project (that actually has source in it) needs to have its own Object_Dir, I think yours may be the same? (I'm not familiar with "project'Object_Dir" used like this, does it mean the current directory? -- yes, nice!) you might consider just exporting variables: in CPP_AdFilters, Source_Dirs :=3D project'Source_Dirs & "./src"; for Source_Dirs use (); in Cpp_BI_SSLL_DLL, for Source_Dirs use project'Source_Dirs & "./src" & CPP_AdFilters.Source_Dirs; (not sure about the bracketing there).