comp.lang.ada
 help / color / mirror / Atom feed
From: gautier_niouzes@hotmail.com
Subject: Re: gl.ali cannot be found, gl.adb must be compiled error...(AdaGide)
Date: Wed, 13 Aug 2014 03:14:31 -0700 (PDT)
Date: 2014-08-13T03:14:31-07:00	[thread overview]
Message-ID: <1d08e00a-75ab-4dfc-9755-9b9306dce231@googlegroups.com> (raw)
In-Reply-To: <018d1f86-f4d3-4554-8c7b-8e29b334f0d8@googlegroups.com>

> I would like to know how it is that I'm getting this error, even though the file exists. I'm using AdaGide (could THAT be the problem?)

Certainly. AdaGIDE works with a local option system (the "gnat.ago" files scattered at different places). Finding sources is OK as long as local options are well configured, but for the .ali/.o files, it is more complicated: with the "in-place" (gnatmake: -i) option it is working as soon as a .ali file is already in the final object directory. But upon first build, it is not created there but at the source's place.
The project file system (GPS or gnatmake -P proj_name) has solved all these annoyances. Actually if you want to continue using AdaGIDE, you could have a reference to a single project file like proj_name.gpr in the local options and everything would be fine. But... there is a little obstacle for that (AdaGIDE would need a small adaptation).
_________________________ 
Gautier's Ada programming 
http://www.openhub.net/accounts/gautier_bd

  reply	other threads:[~2014-08-13 10:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-12 22:41 gl.ali cannot be found, gl.adb must be compiled error...(AdaGide) pincerfae
2014-08-13 10:14 ` gautier_niouzes [this message]
2014-08-13 22:55   ` pincerfae
2014-08-14  0:49     ` Anh Vo
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox