comp.lang.ada
 help / color / mirror / Atom feed
From: Patrick <patrick@spellingbeewinnars.org>
Subject: Re: Compiling FSF GNAT standalone?
Date: Sat, 28 Jul 2012 17:05:40 -0700 (PDT)
Date: 2012-07-28T17:05:40-07:00	[thread overview]
Message-ID: <970bce81-a038-46d4-91f0-46a6c76986e9@googlegroups.com> (raw)
In-Reply-To: <6f23953d-afc2-40d8-8155-da878cb876df@googlegroups.com>

Sorry for answering my own post, as per usual, I can't form a short sensible question :(

So it's my understanding that CC, G++, GNAT etc cannot take source down to an executable by themselves so they are not standalone compilers but frontends to the GCC back end(depending on how you interpret the word compiler).

An earlier thread had mentioned that gnatpp was not available in GCC, so I thought I would compile GNAT on my own to see if there was a bug in it.

If I call gnatmake, it will call GCC eventually, so I supposed the term freestanding GNAT is false. However if I call gnatpp then it is not going to call GCC and there is no way to call gnatpp from GCC so I guess GNAT is not completely dependent on GCC. I would like to build GNAT from source to be able to call gnatpp. I thought it would also be interesting to try to compile it with a cross compiler so that it could be used on other architectures.



  reply	other threads:[~2012-07-29  0:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-28 23:31 Compiling FSF GNAT standalone? Patrick
2012-07-29  0:05 ` Patrick [this message]
2012-07-29 11:11   ` Simon Wright
2012-07-29 12:17     ` Patrick
2012-07-29 13:43       ` Ludovic Brenta
2012-07-29 14:08       ` Simon Wright
2012-07-29 15:34         ` Patrick
replies disabled

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