[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: po_gnatdist project handling problem



On Fri, 14 Mar 2014 10:00:49 +0100, Xavier Grave wrote:
I attach the three temp files, but it seems that polyorb.ads isn't in
it.

I think that's because the two generated project files contain "for
Source_Files" clauses; these clauses restrict the source files
considered to only the ones listed, thereby excluding polyorb.ads, even
though the files listed contain child units of package PolyORB.

If you remove the "for Source_Files" clauses, all should be well.

For good measure, the generated project files should contain a
for Library_ALI_Dir clause (and be proper library project files), so
that gnat ls can find the .ali files from libpolyorb3-dev.

This seems to be a "bug" in po_gnatdist (or, rather, a "feature":
po_gnatdist assumes you recompile PolyORB into your application and
that PolyORB is not a library).

--
Ludovic Brenta.


Reply to: