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: GERMAN,ASCII Path: g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!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: Fri, 07 Jan 2005 17:15:08 +0100 Organization: None Message-ID: <2478035.zi3FBv2p0u@linux1.krischik.com> References: <1104854323.582074.155390@z14g2000cwz.googlegroups.com> <2756551.f73Z0G07VK@linux1.krischik.com> <41db6f28$1_2@news.tm.net.my> <2145623.4z7CBdWjFt@linux1.krischik.com> <877jmro9kt.fsf@insalien.org> <4615116.S3vsdbtdo9@linux1.krischik.com> <87k6qqmho9.fsf@insalien.org> Reply-To: martin@krischik.com Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8Bit X-Trace: news.t-online.com 1105114940 05 16432 IK-VrM9v4toXSiFu 050107 16:22:20 X-Complaints-To: usenet-abuse@t-online.de X-ID: SPsQj0ZY8eTlXiIz9VRTiQsSc7DyeVi9Bxfz15aZ14FTjYtJrI976A User-Agent: KNode/0.8.0 Xref: g2news1.google.com comp.lang.ada:7537 Date: 2005-01-07T17:15:08+01:00 List-Id: Ludovic Brenta wrote: > Martin Krischik writes: >> Compiling ASIS and GLADE for a newer version isn't that difficult - >> even SuSE managed that for SuSE 9.2 - including x86_64 >> architecture. On the down side SuSE only supplies 3.3.4 which is not >> that helpfull :-( . > > If that is true, I am interested. It is indeed (from SuSE 9.2 Professional/German/x86_64): ---- gnat-runtime - GNU Ada-Laufzeitbibliotheken Dieses Paket enth�lt die ben�tigten Shared Libraries zum Ausf�hren von Programmen, die mit dem GNU Ada-Compiler (GNAT) kompiliert wurden, vorausgesetzt sie wurden zur Verwendung von Shared Libraries kompiliert. Es enth�lt weiterhin die Shared Libraries zur Implementation der Ada Semantic Interface Specification (ASIS), der Distributed Systems Programming (GLADE) sowie von Posix 1003.5 Binding (Florist). ---- gnat-runtime-32bit - GNU Ada-Laufzeitbibliotheken Dieses Paket enth�lt die ben�tigten Shared Libraries zum Ausf�hren von Programmen, die mit dem GNU Ada-Compiler (GNAT) kompiliert wurden, vorausgesetzt sie wurden zur Verwendung von Shared Libraries kompiliert. Es enth�lt weiterhin die Shared Libraries zur Implementation der Ada Semantic Interface Specification (ASIS), der Distributed Systems Programming (GLADE) sowie von Posix 1003.5 Binding (Florist). ---- ---- > But my understanding is that both > are coupled with the internals of GNAT (with good reason, of course, > considering what they do). They are indeed. But is is a simple matter of a copy or a symbolic link to the original sources. The only real problem are the warning levels. AdaCore uses -gnate and newer compilers have more warnings. You just have to disable that. > Several people on this newsgroup have been > harping on GCC 3.4, but I'd like reports about ASIS and GLADE for GCC > 3.4. ASIS: works fine with 3.4.3. Florist compiles Ok. GLADE compiles Ok. But some GCC versions have a broken -gnatze - so you can't do anything with it. > As a distribution maintainer, I also have configuration management > issues in mind. Ada Core is not doing any formal releases of ASIS or > GLADE for GCC 3.4. If I were to roll my own snapshot of the CVS > repositories and distribute them, Only GLADE has a cvs snapshot: :pserver:anoncvs@libre.act-europe.fr:/anoncvs/GLADE For ASIS and Florist you need to patch the 3.15p sources. But that has been done before. > I would be taking quite a big > responsibility both to the users (who tend to trust Debian packages), > and to Debian (which has a reputation for quality). CVS snapshots > would be okay for the "experimental" branch of Debian, but not, IMHO, > for "stable". I'm willing to be persuaded otherwise by people willing > to contribute some time and energy. I mentioned before that I did take a head start here: http://gnat-asis.sourceforge.net/ http://gnat-florist.sourceforge.net/ http://gnat-glade.sourceforge.net/ I take on anyone who want to maintain something ;-) . > More generally, it seems to me that many people on this newsgroup like > to take their own snapshot of this, patch it, and then mix it with > their neibour's snapshot of that. This is called chaos, and it works > because the software produced is often excellent. But the resulting > source packages are bound to require different versions of GNAT, and > the only way to make them agree on one compiler is to use force > (i.e. patch until the damn things will compile, because the upstream > authors won't do it for you). As a distribution maintainer and as one > who has compiled many free Ada packages, I am extremely sensitive to > this issue. Shure. I just published my patches - but debian is different in that resprect. >> Besides: GCC 3.4 has PolyORB which seems the better option anyway. > > This statement is not true. GCC 3.4 does not "have" PolyORB, they are > two separate packages. Sorry, used the wrong wording. > However, PolyORB is slated to replace GLADE in the future. Parts of > it are being merged into GCC 4.0, so in the future you will be able to > say "PolyORB requires GCC 4.0 to build, and GCC 4.0 has special > support for PolyORB". Did not know that. > Is anyone aware of a binary distribution of PolyORB? No, PolyORB is source only. And currently DLL support is broken. And Windows as well - some comandlines hit the 8192 character mark - does anybody know a way around that? Apart from that PolyORB is quite cool. I tried ORBit as well but dropped it very quickly. I rather use PolyORB and pragma Export (C,...) then ORBit's C bindings. With Regards Martin -- mailto://krischik@users.sourceforge.net http://www.ada.krischik.com