From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,32bee71a8464bfc2 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!news.cs.univ-paris8.fr!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: A bug in gnat/gcc 3.3.3? Date: Thu, 06 Jan 2005 16:01:59 +0100 Organization: None Message-ID: <6318747.KqNBFmd9mc@linux1.krischik.com> References: <1104854323.582074.155390@z14g2000cwz.googlegroups.com> <1104856328.848369.264440@c13g2000cwb.googlegroups.com> Reply-To: martin@krischik.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1105025100 00 6145 z7ZVrLdlavt2PGg 050106 15:25:00 X-Complaints-To: usenet-abuse@t-online.de X-ID: XMW0YYZCweS6u1TJAbFA96RFtPPLtQBEsjI96F83TbG7SYurST9Q0n User-Agent: KNode/0.8.0 Xref: g2news1.google.com comp.lang.ada:7522 Date: 2005-01-06T16:01:59+01:00 List-Id: 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