comp.lang.ada
 help / color / mirror / Atom feed
* Problems building gnat3.13p on HP-UX
@ 2000-09-11 11:25 Alexander Boucke
  2000-09-11 11:55 ` Preben Randhol
  2000-09-11 15:44 ` Alexander Boucke
  0 siblings, 2 replies; 8+ messages in thread
From: Alexander Boucke @ 2000-09-11 11:25 UTC (permalink / raw)


Hello!

I encounter the following problem, whenn trying to build gnat 3.13p on HP-UX
10.20. I followed the README exactly until

make CC=gcc CFLAGS="-O2" GNATLIBFLAGS="-O2" gnatlib.

Here the following error occurs:
gmake[2]: Entering directory `/home/alexb/tmp/gnat-neu/gcc-2.8.1/ada/rts'
../../xgcc -B../../ -c -g -O2 -UIN_GCC -mdisable-indexing -O2 -I. -I/home/al
exb/tmp/gnat-neu/gcc-2.8.1/ada a-caldel.adb
a-caldel.adb:37:01: language defined units may not be recompiled

Until then everything seemend to work fine. The gcc already installed is
from gnat 3.12p.

Could anybody tell me, what is going wrong here?

Kind regards,
Alexander Boucke







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

* Re: Problems building gnat3.13p on HP-UX
  2000-09-11 11:25 Problems building gnat3.13p on HP-UX Alexander Boucke
@ 2000-09-11 11:55 ` Preben Randhol
  2000-09-11 22:37   ` Robert Dewar
  2000-09-11 15:44 ` Alexander Boucke
  1 sibling, 1 reply; 8+ messages in thread
From: Preben Randhol @ 2000-09-11 11:55 UTC (permalink / raw)


On Mon, 11 Sep 2000 13:25:23 +0200, Alexander Boucke wrote:
>Hello!
>
>I encounter the following problem, whenn trying to build gnat 3.13p on HP-UX
>10.20. I followed the README exactly until
>
>make CC=gcc CFLAGS="-O2" GNATLIBFLAGS="-O2" gnatlib.
         ^^^
         ? I don't have HP-UX, but on my Linux box it is called gnatgcc


>Until then everything seemend to work fine. The gcc already installed is
>from gnat 3.12p.

You cannot use both 3.12p and 3.13p

-- 
Preben Randhol - Ph.D student - http://www.pvv.org/~randhol/
"i too once thought that when proved wrong that i lost somehow"
                               - i was hoping, alanis morisette



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

* Re: Problems building gnat3.13p on HP-UX
  2000-09-11 11:25 Problems building gnat3.13p on HP-UX Alexander Boucke
  2000-09-11 11:55 ` Preben Randhol
@ 2000-09-11 15:44 ` Alexander Boucke
  1 sibling, 0 replies; 8+ messages in thread
From: Alexander Boucke @ 2000-09-11 15:44 UTC (permalink / raw)


Alright - I've forgotten to unset the environment variables needed for
gnat3.12 before building the gnatlib...

Alexander Boucke





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

* Re: Problems building gnat3.13p on HP-UX
  2000-09-11 11:55 ` Preben Randhol
@ 2000-09-11 22:37   ` Robert Dewar
  2000-09-12  7:48     ` Preben Randhol
  2000-09-12 19:55     ` Simon Wright
  0 siblings, 2 replies; 8+ messages in thread
From: Robert Dewar @ 2000-09-11 22:37 UTC (permalink / raw)


In article
<slrn8rpi13.365.randhol+abuse@kiuk0156.chembio.ntnu.no>,
>  I don't have HP-UX, but on my Linux box it is called gnatgcc

That's an oddity for some non-standard distributions of the
Linux port, it is not used on any standard releases of GNAT
>
> >Until then everything seemend to work fine. The gcc already
installed is
> >from gnat 3.12p.
>
> You cannot use both 3.12p and 3.13

This is misleading, in fact the requirement is that
3.13 be built using 3.12.


Sent via Deja.com http://www.deja.com/
Before you buy.



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

* Re: Problems building gnat3.13p on HP-UX
  2000-09-11 22:37   ` Robert Dewar
@ 2000-09-12  7:48     ` Preben Randhol
  2000-09-12 18:12       ` David Starner
  2000-09-12 22:05       ` Robert Dewar
  2000-09-12 19:55     ` Simon Wright
  1 sibling, 2 replies; 8+ messages in thread
From: Preben Randhol @ 2000-09-12  7:48 UTC (permalink / raw)


On Mon, 11 Sep 2000 22:37:42 GMT, Robert Dewar wrote:
>In article
><slrn8rpi13.365.randhol+abuse@kiuk0156.chembio.ntnu.no>,
>>  I don't have HP-UX, but on my Linux box it is called gnatgcc
>
>That's an oddity for some non-standard distributions of the
>Linux port, it is not used on any standard releases of GNAT

Hmm. Which distribution is standard? I use Debian 2.2.

>This is misleading, in fact the requirement is that
>3.13 be built using 3.12.

I misunderstood the question and I realized it only after sending the
article. I canceled thus the article, but not all news-servers follow
this request. :-(

-- 
Preben Randhol - Ph.D student - http://www.pvv.org/~randhol/
"i too once thought that when proved wrong that i lost somehow"
                               - i was hoping, alanis morisette



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

* Re: Problems building gnat3.13p on HP-UX
  2000-09-12  7:48     ` Preben Randhol
@ 2000-09-12 18:12       ` David Starner
  2000-09-12 22:05       ` Robert Dewar
  1 sibling, 0 replies; 8+ messages in thread
From: David Starner @ 2000-09-12 18:12 UTC (permalink / raw)


On 12 Sep 2000 07:48:17 GMT, Preben Randhol <randhol+abuse@pvv.org> wrote:
>On Mon, 11 Sep 2000 22:37:42 GMT, Robert Dewar wrote:
>>In article
>><slrn8rpi13.365.randhol+abuse@kiuk0156.chembio.ntnu.no>,
>>>  I don't have HP-UX, but on my Linux box it is called gnatgcc
>>
>>That's an oddity for some non-standard distributions of the
>>Linux port, it is not used on any standard releases of GNAT
>
>Hmm. Which distribution is standard? I use Debian 2.2.

The ACT one. Assuming the merge of GNAT with mainline gcc occurs,
Debian will probably stop making gnatgcc, but so far it's the 
easiest way to seperate 'normal' gcc 2.95 and GNAT gcc. 

-- 
David Starner - dstarner98@aasaa.ofe.org
http/ftp: dvdeug.dhis.org
And crawling, on the planet's face, some insects called the human race.
Lost in space, lost in time, and meaning.
	-- RHPS



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

* Re: Problems building gnat3.13p on HP-UX
  2000-09-11 22:37   ` Robert Dewar
  2000-09-12  7:48     ` Preben Randhol
@ 2000-09-12 19:55     ` Simon Wright
  1 sibling, 0 replies; 8+ messages in thread
From: Simon Wright @ 2000-09-12 19:55 UTC (permalink / raw)


Robert Dewar <robert_dewar@my-deja.com> writes:

> In article
> <slrn8rpi13.365.randhol+abuse@kiuk0156.chembio.ntnu.no>,
> >  I don't have HP-UX, but on my Linux box it is called gnatgcc
> 
> That's an oddity for some non-standard distributions of the
> Linux port, it is not used on any standard releases of GNAT

If you only ever want to use the C compiler that comes as part of a
GNAT release, and don't want to use C++ or Fortran or ..., then the
GNAT requirement to put its bin directory on your path is fine.

The modern binary releases have a script trick to allow you to put the
binary anywhere without having to set environment variables.

However, most people will want more than that (and not just on Linux,
either).

I wrote a little package (see http://www.pogner.demon.co.uk/gnatfe/),
which uses tricks rather like those of the latest GNAT binaries, and
as supplied allows you to use GNAT versions of gcc (gnatgcc), gcov
(gnatgcov) and gdb (gnatgdb), plus the standard gnat* commands,
without individual adjustment of your path.



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

* Re: Problems building gnat3.13p on HP-UX
  2000-09-12  7:48     ` Preben Randhol
  2000-09-12 18:12       ` David Starner
@ 2000-09-12 22:05       ` Robert Dewar
  1 sibling, 0 replies; 8+ messages in thread
From: Robert Dewar @ 2000-09-12 22:05 UTC (permalink / raw)


In article
<slrn8rrnss.af.randhol+abuse@kiuk0156.chembio.ntnu.no>,
  randhol+abuse@pvv.org (Preben Randhol) wrote:
> On Mon, 11 Sep 2000 22:37:42 GMT, Robert Dewar wrote:
> >In article
> ><slrn8rpi13.365.randhol+abuse@kiuk0156.chembio.ntnu.no>,
> >>  I don't have HP-UX, but on my Linux box it is called
gnatgcc
> >
> >That's an oddity for some non-standard distributions of the
> >Linux port, it is not used on any standard releases of GNAT
>
> Hmm. Which distribution is standard? I use Debian 2.2.

I meant by standard, versions that are created by Ada Core
Technologies following the standard setup. It is indeed the
case that the Debian folks modify this, and in particular
change gcc to gnatgcc. There is nothing wrong with this, it is
just that it is special to Debian, and therefore not applicable
to other implementations.


Sent via Deja.com http://www.deja.com/
Before you buy.



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

end of thread, other threads:[~2000-09-12 22:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-11 11:25 Problems building gnat3.13p on HP-UX Alexander Boucke
2000-09-11 11:55 ` Preben Randhol
2000-09-11 22:37   ` Robert Dewar
2000-09-12  7:48     ` Preben Randhol
2000-09-12 18:12       ` David Starner
2000-09-12 22:05       ` Robert Dewar
2000-09-12 19:55     ` Simon Wright
2000-09-11 15:44 ` Alexander Boucke

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