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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6d2691054b5171 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!news.cs.univ-paris8.fr!talisker.lacave.net!lacave.net!feeder.xsnews.nl!feeder.news-service.com!post.news-service.com!news1.surfino.com!not-for-mail Message-Id: <2724842.PsBIZdAfQK@linux1.krischik.com> From: Martin Krischik Subject: Re: Ada & C++ Newsgroups: comp.lang.ada Date: Wed, 06 Apr 2005 15:31:10 +0200 References: User-Agent: KNode/0.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: abuse@surfino.com Organization: Surfino Gmbh NNTP-Posting-Host: 83.169.175.19 (83.169.175.19) NNTP-Posting-Date: Wed, 06 Apr 2005 16:00:20 +0200 X-Trace: de21a4253eb74f60c0ab619967 Xref: g2news1.google.com comp.lang.ada:10301 Date: 2005-04-06T15:31:10+02:00 List-Id: Szymon Guz wrote: > Hi, > I've got a simple question about using Ada together with C++ and other > languages. If I have a library written in Ada and compiled eg. under > Windows and then I want to compile it under Linux, I suppose there won't > be any problems with that. But what about using this library from a C++ > program, will there be any problems with using it under Windows and > Linux and does it depend on the C++ compilere that I use ? It does depend on the Ada and C++ compiler. From my experience I know that GNAT works fine with gcc C/C++ and can be made to work with Visual Studio .NET C++. For Visual Studio you have to take into account that VS.NET uses a different storage pool. Martin -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com