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=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.dca.giganews.com!nntp.giganews.com!goblin3!goblin.stu.neva.ru!news-1.dfn.de!news.dfn.de!news1.uni-leipzig.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: hreba Newsgroups: comp.lang.ada Subject: Re: Undefined reference errors and strange new files appearing Date: Sun, 22 Jun 2014 17:30:50 -0300 Message-ID: References: <1mzn30tk739yc.1xe0abn3udzik.dlg@40tude.net> <6oe9n9t492cj$.1lnea40xr9xrr$.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net zF8sHgGJYhouqV79wUZznASy6tRS1IiO5lPr8XmAlLQvFJMOmV Cancel-Lock: sha1:1hdmiSWaK97RqA7hfTzoaaryi2E= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: <6oe9n9t492cj$.1lnea40xr9xrr$.dlg@40tude.net> Xref: number.nntp.dca.giganews.com comp.lang.ada:187168 Date: 2014-06-22T17:30:50-03:00 List-Id: On 06/22/2014 05:06 PM, Dmitry A. Kazakov wrote: > On Sun, 22 Jun 2014 12:51:09 -0300, hreba wrote: > >> On 06/22/2014 02:56 AM, Dmitry A. Kazakov wrote: >>> > > It is still unclear if "library" means: > > 1. An OS-library such as *.lib, *.a, *.dll, *.so? > > 2. A set of Ada's library-level packages organized in a separate project, > yet not producing an OS-library? > > For #2, you just make a plain Ada project (not a library project as you > did). > > You refer to that project from the test project ("with" it). Then you open > the test project and you will see the referenced project and all its files > in the GPS' project view in a separate folder. > > You can edit, compile these files the same way you do test project files. > When you build the test project they are automatically compiled as > necessary. > >> Up to now, I always have been compiling my libraries on its own in order >> to correct syntactical errors, only then I switched to (test-) >> applications importing them. > > You can do all work using the test project. No need to switch projects. > It is #2. Everything clear now. Thanks. -- Frank Hrebabetzky +55 / 48 / 3235 1106 Florianopolis, Brazil