comp.lang.ada
 help / color / mirror / Atom feed
* How to find a native GNAT compiler?
@ 2011-08-13 15:45 thymallus1
  2011-08-13 16:26 ` Pascal Obry
  0 siblings, 1 reply; 4+ messages in thread
From: thymallus1 @ 2011-08-13 15:45 UTC (permalink / raw)
  Cc: phlaval1

I used GPS from GPL-2010, with win32ada, without problem. Now I
installed GPS-2011, and I tried to install win32ada for GPL-2011
(win32ada-gpl-2011.exe downloaded from Adacore). It appears that this
installation is only possible if "a native GNAT compiler" is found on
the system. After some searches with google I found it is possible but
very difficult to build a native Ada compiler from the Gnat sources.
Do I have to wait for a win32ada compatible with GPL-2011 from
Adacore?
Phil



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to find a native GNAT compiler?
  2011-08-13 15:45 How to find a native GNAT compiler? thymallus1
@ 2011-08-13 16:26 ` Pascal Obry
  2011-08-16 15:51   ` thymallus1
  0 siblings, 1 reply; 4+ messages in thread
From: Pascal Obry @ 2011-08-13 16:26 UTC (permalink / raw)
  To: thymallus1; +Cc: phlaval1


Phil,

> I used GPS from GPL-2010, with win32ada, without problem. Now I
> installed GPS-2011, and I tried to install win32ada for GPL-2011
> (win32ada-gpl-2011.exe downloaded from Adacore). It appears that this
> installation is only possible if "a native GNAT compiler" is found on
> the system. After some searches with google I found it is possible but
> very difficult to build a native Ada compiler from the Gnat sources.
> Do I have to wait for a win32ada compatible with GPL-2011 from
> Adacore?

You probably need to give more details. The native Ada compiler is GNAT 
GPL 2011. So you should have it. Is it really on your PATH?

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|    http://www.obry.net  -  http://v2p.fr.eu.org
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver keys.gnupg.net --recv-key F949BD3B




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to find a native GNAT compiler?
  2011-08-13 16:26 ` Pascal Obry
@ 2011-08-16 15:51   ` thymallus1
  2011-08-16 16:33     ` Simon Wright
  0 siblings, 1 reply; 4+ messages in thread
From: thymallus1 @ 2011-08-16 15:51 UTC (permalink / raw)


On 13 août, 18:26, Pascal Obry <pas...@obry.net> wrote:
> Phil,
>
> > I used GPS from GPL-2010, with win32ada, without problem. Now I
> > installed GPS-2011, and I tried to install win32ada for GPL-2011
> > (win32ada-gpl-2011.exe downloaded from Adacore). It appears that this
> > installation is only possible if "a native GNAT compiler" is found on
> > the system. After some searches with google I found it is possible but
> > very difficult to build a native Ada compiler from the Gnat sources.
> > Do I have to wait for a win32ada compatible with GPL-2011 from
> > Adacore?
>
> You probably need to give more details. The native Ada compiler is GNAT
> GPL 2011. So you should have it. Is it really on your PATH?
>
> Pascal.
>
> --
>
> --|------------------------------------------------------
> --| Pascal Obry                           Team-Ada Member
> --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
> --|------------------------------------------------------
> --|    http://www.obry.net -  http://v2p.fr.eu.org
> --| "The best way to travel is by means of imagination"
> --|
> --| gpg --keyserver keys.gnupg.net --recv-key F949BD3B

You are right. I previously installed GPS 2010 in D:\GPS-2010; and I
installed the downloaded GPS-2011 in D:\GPS-2011. There were remnants
of 2010 forgotten in the path. I cleaned this mess and I put in the
path the directory containing gnat1.exe. Then I run again the win32ada
installer. However, I got the same message ("Setup couldn't find a
native Ada compiler on your system"). I decided to bypass this
warning, and "Performing automatic installation using compiler in D:
\GPS-2011" was displayed until it ends up by "installation completed".
Thank you for your help.
Phil.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to find a native GNAT compiler?
  2011-08-16 15:51   ` thymallus1
@ 2011-08-16 16:33     ` Simon Wright
  0 siblings, 0 replies; 4+ messages in thread
From: Simon Wright @ 2011-08-16 16:33 UTC (permalink / raw)


thymallus1@free.fr writes:

> On 13 août, 18:26, Pascal Obry <pas...@obry.net> wrote:

>> You probably need to give more details. The native Ada compiler is GNAT
>> GPL 2011. So you should have it. Is it really on your PATH?
>>
>> Pascal.
>>
>> --
>>
>> --|------------------------------------------------------
>> --| Pascal Obry                           Team-Ada Member
>> --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
>> --|------------------------------------------------------
>> --|    http://www.obry.net -  http://v2p.fr.eu.org
>> --| "The best way to travel is by means of imagination"
>> --|
>> --| gpg --keyserver keys.gnupg.net --recv-key F949BD3B
>
> You are right. I previously installed GPS 2010 in D:\GPS-2010; and I
> installed the downloaded GPS-2011 in D:\GPS-2011. There were remnants
> of 2010 forgotten in the path. I cleaned this mess and I put in the
> path the directory containing gnat1.exe. Then I run again the win32ada
> installer. However, I got the same message ("Setup couldn't find a
> native Ada compiler on your system"). I decided to bypass this
> warning, and "Performing automatic installation using compiler in D:
> \GPS-2011" was displayed until it ends up by "installation completed".
> Thank you for your help.
> Phil.

So you are OK now?

For future reference -- the directory that should be in your path is the
one containing gcc.exe, gnatmake.exe. gcc.exe knows how to find the
compiler internals such as gnat1.exe it needs relative to itself.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-08-16 16:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-13 15:45 How to find a native GNAT compiler? thymallus1
2011-08-13 16:26 ` Pascal Obry
2011-08-16 15:51   ` thymallus1
2011-08-16 16:33     ` Simon Wright

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