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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,dfa4ab8529e3b55f X-Google-Attributes: gid103376,public From: Alain Le Guennec Subject: Re: Ada 95 and C++(again) Date: 2000/09/26 Message-ID: #1/1 X-Deja-AN: 674224857 References: <8qd6u5$rss$1@nnrp1.deja.com> <8qd8fp$trq$1@nnrp1.deja.com> <8qf4s1$60v$1@nnrp1.deja.com> <8qpim4$of1$1@nnrp1.deja.com> X-Complaints-To: usenet@irisa.fr X-Trace: news.irisa.fr 969960914 25727 131.254.43.8 (26 Sep 2000 09:35:14 GMT) Organization: Irisa, Rennes (FR) NNTP-Posting-Date: 26 Sep 2000 09:35:14 GMT Newsgroups: comp.lang.ada Date: 2000-09-26T09:35:14+00:00 List-Id: Christophe Gouiran writes: > Many thanks, I studied those files but my problem is'nt still here. > The only think I want to do in a first step is to add C++ compilation > ability to Gnat under Windows. Do you mean you want to have GNAT's gcc to compile also C++ files? AFAIK, it is not advised to build cc1plus at the same time as gnat1. However, you don't need to compile your Ada files and your C++ files with a gnat1 and a cc1plus obtained from a single build of GCC. You can probably find a functional gcc/cc1plus for mingwin32 in a GCC build with no Ada support, and compile your C++ files with it, then link the object files with your Ada object files. That should work just fine. > I played a little with tools on mingw32 homepage but I always have > undefined references at linking time. > So, has someone succeeded in adding C++ tools and libraries to Gnat ? -- Alain Le Guennec, not speaking for IRISA.