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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9b1d37f5a56928f1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-16 07:14:50 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Calling Ada from C++ (MS Visual C++) Date: 16 Apr 2002 10:07:43 -0400 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: <3ab585c8.0204050030.3d94e692@posting.google.com> <3ab585c8.0204110051.3659218c@posting.google.com> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1018966439 13829 128.183.220.71 (16 Apr 2002 14:13:59 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 16 Apr 2002 14:13:59 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:22600 Date: 2002-04-16T14:13:59+00:00 List-Id: "Karel Miklav" writes: > > Just out of curiosity, why are you using MS C++ instead of Gnu C++? > > I'll assume it's to get MFC. > > I'm considering options to escape from MS world (VC++/VB/scripting/COM/), > mostly get rid of VC. Is it possible to use Gnu C++ on Windows box as an > industry-strenght compiler with possibilities to interface to other > languages like Ada and Eiffel without too much hassle (hassle = 90% of time > spent on interfacing)? Interfacing Gnu Ada and Gnu C++ is easier than interfacing Gnu Ada and non-Gnu C++. Neither is standard; the simplest way is to use C as the intermediate language. But Gnu Ada does support directly importing/exporting Gnu C++ classes. I'm not clear on Eiffel; if it supports exporting functions to Gnu C, then interfacing it with Gnu Ada will be simple. "industry-strength" is a very ambiguous term. If you mean "supported by a strong company with a good rep", then Gnu Ada is industry-strength. If you mean "comes with lots of widgets that do 90% of my business GUI app", then no, Gnu Ada is not. The amount of "hassle" involved in interfacing depends heavily on what libraries you are interfacing to. -- -- Stephe