From: Maciej Sobczak <see.my.homepage@gmail.com>
Subject: Re: GNAT 2009, Windows and system libraries
Date: Wed, 10 Feb 2010 07:21:20 -0800 (PST)
Date: 2010-02-10T07:21:20-08:00 [thread overview]
Message-ID: <f1399c36-c18c-4b1f-8741-43139221e0e2@w16g2000yqw.googlegroups.com> (raw)
In-Reply-To: 690a26b0-70fd-4d0c-8169-fe803594938d@z17g2000yqh.googlegroups.com
On 10 Lut, 12:13, Maciej Sobczak <see.my.homep...@gmail.com> wrote:
> I have a problem writing a proper .gpr file for a project that is
> composed of Ada and C++ code and that uses Windows socket API.
After struggling a while, I was able to compile everything by hand -
that is, by manually running the GNAT toolchain.
The problem with the use of .gpr files is that in the final incovation
of gnatlink, libraries are listed in the order that comes from the
depth-first traversal of all .gpr files that are connected by "with"
relationships, which leads to unresolved references. The order that I
need is depth-first (or more generally, topologically sorted).
How can I change the order of all dependent libraries that are used in
the final invocation of gnatlink?
--
Maciej Sobczak * www.msobczak.com * www.inspirel.com
next prev parent reply other threads:[~2010-02-10 15:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-10 11:13 GNAT 2009, Windows and system libraries Maciej Sobczak
2010-02-10 11:40 ` Hibou57 (Yannick Duchêne)
2010-02-10 15:21 ` Maciej Sobczak [this message]
2010-02-10 15:35 ` Maciej Sobczak
2010-02-10 15:45 ` Ludovic Brenta
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox