* Where is GNAT putting my ADA .exe
@ 2018-06-27 19:47 Andy Social
2018-06-27 21:03 ` Simon Wright
2018-06-28 17:29 ` Olivier Henley
0 siblings, 2 replies; 7+ messages in thread
From: Andy Social @ 2018-06-27 19:47 UTC (permalink / raw)
Hi
I am playing around with Ada again. I swore when I compiled a small Ada before with an older version of GNAT, it created an .exe file. I am not seeing that anywhere with the new GNAT compiler?
Thanks
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Where is GNAT putting my ADA .exe
2018-06-27 19:47 Where is GNAT putting my ADA .exe Andy Social
@ 2018-06-27 21:03 ` Simon Wright
2018-06-27 21:33 ` Andy Social
2018-06-28 17:29 ` Olivier Henley
1 sibling, 1 reply; 7+ messages in thread
From: Simon Wright @ 2018-06-27 21:03 UTC (permalink / raw)
Andy Social <andys@ntso.com> writes:
> I am playing around with Ada again. I swore when I compiled a small
> Ada before with an older version of GNAT, it created an .exe file. I
> am not seeing that anywhere with the new GNAT compiler?
Tell us a bit more about how you're playing.
Are you using a project (.gpr) file? If so, and it contains e.g.
for Object_Dir use "obj"; -- subdirectory of project directory
then any executables are created in obj/ unless you've also got
for Exec_Dir use "bin"; -- or e.g. "." for project directory
(I find this behaviour infuriating, but there you go)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Where is GNAT putting my ADA .exe
2018-06-27 21:03 ` Simon Wright
@ 2018-06-27 21:33 ` Andy Social
2018-06-28 7:23 ` Simon Wright
0 siblings, 1 reply; 7+ messages in thread
From: Andy Social @ 2018-06-27 21:33 UTC (permalink / raw)
Hi Simon
I actually did get it to work. Not quite sure yet exactly but here are some of the things I played around with:
Edit/Preferences/Default Builder is now gnatmake
Made sure I started with a new project
Made a simple Hello World and saved as .adb
Clicked Build/Project/Build and Compile
And that seemed to work. Some one at Stackoverflow said to change to the 32bit Win version of GNAT but I don't think that was it. I will test that theory tonight
Thanks for chiming in.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Where is GNAT putting my ADA .exe
2018-06-27 21:33 ` Andy Social
@ 2018-06-28 7:23 ` Simon Wright
2018-06-28 8:36 ` Alejandro R. Mosteo
0 siblings, 1 reply; 7+ messages in thread
From: Simon Wright @ 2018-06-28 7:23 UTC (permalink / raw)
Andy Social <andys@ntso.com> writes:
> I actually did get it to work. Not quite sure yet exactly but here
> are some of the things I played around with:
>
> Edit/Preferences/Default Builder is now gnatmake
>
> Made sure I started with a new project
>
> Made a simple Hello World and saved as .adb
>
> Clicked Build/Project/Build and Compile
>
> And that seemed to work.
It seem that you're using GPS. Is this the 2018 Community Edition?
(details _help_ when diagnosing problems).
> Some one at Stackoverflow said to change to
> the 32bit Win version of GNAT but I don't think that was it. I will
> test that theory tonight
How did you tag your SO question? (I now realise I've been missing
questions because I've only been looking at [ada]; there's [gnat] and
[gnat-gps] as well)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Where is GNAT putting my ADA .exe
2018-06-28 7:23 ` Simon Wright
@ 2018-06-28 8:36 ` Alejandro R. Mosteo
2018-06-28 12:17 ` Simon Wright
0 siblings, 1 reply; 7+ messages in thread
From: Alejandro R. Mosteo @ 2018-06-28 8:36 UTC (permalink / raw)
On 28/06/2018 09:23, Simon Wright wrote:
> Andy Social <andys@ntso.com> writes:
>
>> I actually did get it to work. Not quite sure yet exactly but here
>> are some of the things I played around with:
>>
>> Edit/Preferences/Default Builder is now gnatmake
>>
>> Made sure I started with a new project
>>
>> Made a simple Hello World and saved as .adb
>>
>> Clicked Build/Project/Build and Compile
>>
>> And that seemed to work.
>
> It seem that you're using GPS. Is this the 2018 Community Edition?
> (details _help_ when diagnosing problems).
>
>> Some one at Stackoverflow said to change to
>> the 32bit Win version of GNAT but I don't think that was it. I will
>> test that theory tonight
>
>
> How did you tag your SO question? (I now realise I've been missing
> questions because I've only been looking at [ada]; there's [gnat] and
> [gnat-gps] as well)
Also [ada95], [ada2012], [gprbuild].
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Where is GNAT putting my ADA .exe
2018-06-28 8:36 ` Alejandro R. Mosteo
@ 2018-06-28 12:17 ` Simon Wright
0 siblings, 0 replies; 7+ messages in thread
From: Simon Wright @ 2018-06-28 12:17 UTC (permalink / raw)
"Alejandro R. Mosteo" <alejandro@mosteo.com> writes:
>> How did you tag your SO question? (I now realise I've been missing
>> questions because I've only been looking at [ada]; there's [gnat] and
>> [gnat-gps] as well)
>
> Also [ada95], [ada2012], [gprbuild].
Thanks for that! Also [gprinstall].
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Where is GNAT putting my ADA .exe
2018-06-27 19:47 Where is GNAT putting my ADA .exe Andy Social
2018-06-27 21:03 ` Simon Wright
@ 2018-06-28 17:29 ` Olivier Henley
1 sibling, 0 replies; 7+ messages in thread
From: Olivier Henley @ 2018-06-28 17:29 UTC (permalink / raw)
Please install Everything on your windows machine (https://www.voidtools.com/)
It indexes, real-time, your whole machine(do not worry it does not bloat your system at all. I repeat, not at all.)
Therefore you can ask for any file pattern, eg. my_ada_soft*.exe will return you instantly where the files matching the pattern are located on your system.
It will save you countless headaches.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2018-06-28 17:29 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-27 19:47 Where is GNAT putting my ADA .exe Andy Social
2018-06-27 21:03 ` Simon Wright
2018-06-27 21:33 ` Andy Social
2018-06-28 7:23 ` Simon Wright
2018-06-28 8:36 ` Alejandro R. Mosteo
2018-06-28 12:17 ` Simon Wright
2018-06-28 17:29 ` Olivier Henley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox