comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Krischik <martin@krischik.com>
Subject: Re: A bug in gnat/gcc 3.3.3?
Date: Thu, 06 Jan 2005 16:01:59 +0100
Date: 2005-01-06T16:01:59+01:00	[thread overview]
Message-ID: <6318747.KqNBFmd9mc@linux1.krischik.com> (raw)
In-Reply-To: 1104856328.848369.264440@c13g2000cwb.googlegroups.com

Adrian Hoe wrote:

> Hi Duncan,
> 
> So far, I've not encountered any problems with 3.3.3. But I do hear bad
> comments about it. Perhaps this bug is one of them and the first I
> encountered so far.
> 
> Considering to use 3.15p, can I overwrite gnat 3.3.3 with it?

NO! You need the compiler wich comes with SuSE for other things. Install the
Ada Compiler into /opt/ada and use something like this to
your /etc/profiled.d/ directory:

if [[ (${USER} != root) && (-z ${_ada_bash_} ) ]] ; then

        declare -r _ada_bash_=loaded

        echo "Set Ada Environment"

        PATH=/opt/ada/bin:${PATH}
        PATH=.:${PATH}

        # add other ada related init here.
fi

Pleas note the use of  (${USER} != root)! The root use should continue to
use the origninal compiler.

> Is there 
> any rpm for SuSE 9.1?  I just hate bootstrapping from source 

Bootstrapping the compiler with SuSE 9.1 is easy. Follow my instructions on
ada.krischik.com - or better use my build.gcc batch
(http://ada.krischik.com/build-gcc). Even works for 64 bit systems :-).

> and I can 
> always not getting shared library working.

Shared libs are done by (cut from my build.gcc):

                if (( ${?} == 0 )) ; then
                        make -C gcc gnatlib-shared
                \
                        2>&1 |  tee "../compile.gnat.${in_Config}.log";
                fi;

With Regards

Martin

-- 
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com



  reply	other threads:[~2005-01-06 15:01 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-04 15:58 A bug in gnat/gcc 3.3.3? Adrian Hoe
2005-01-04 16:13 ` Duncan Sands
2005-01-04 16:32   ` Adrian Hoe
2005-01-06 15:01     ` Martin Krischik [this message]
2005-01-04 18:01 ` Martin Krischik
2005-01-05  4:45   ` Adrian Hoe
2005-01-05  4:59     ` Bobby D. Bryant
2005-01-31  4:45       ` Adrian Hoe
2005-01-05  8:44     ` Martin Krischik
2005-01-05 21:22       ` Ludovic Brenta
2005-01-05 21:47         ` Duncan Sands
2005-01-05 22:22         ` Florian Weimer
2005-01-06  0:54           ` Adrian Hoe
2005-01-06 10:26             ` Martin Krischik
2005-01-06 19:07             ` Ludovic Brenta
2005-01-06 19:17           ` Ludovic Brenta
2005-01-06  1:54         ` Bobby D. Bryant
2005-01-06 10:28         ` Martin Krischik
2005-01-06 20:22           ` Ludovic Brenta
2005-01-06 21:29             ` Jerome Hugues
2005-01-06 23:04               ` Ludovic Brenta
2005-01-07  8:40                 ` Jerome Hugues
2005-01-07 16:15             ` Martin Krischik
2005-01-05 12:20     ` Pascal Obry
2005-01-05 21:21       ` Ludovic Brenta
2005-01-04 19:16 ` Ludovic Brenta
2005-01-05  4:25   ` Adrian Hoe
2005-01-05 21:19     ` Ludovic Brenta
2005-01-07 16:22 ` Adrian Hoe
2005-01-07 18:13   ` Ludovic Brenta
2005-01-07 23:32   ` Ludovic Brenta
replies disabled

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