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: a07f3367d7,3d76796391769899 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!y12g2000vbg.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: GCC conflict on Ubuntu for mixed Ada/C++ project Date: Tue, 18 May 2010 07:36:34 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <41d3829e-286d-4894-9140-31343bfa75ac@o12g2000vba.googlegroups.com> NNTP-Posting-Host: 153.98.68.197 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1274193394 8249 127.0.0.1 (18 May 2010 14:36:34 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 18 May 2010 14:36:34 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: y12g2000vbg.googlegroups.com; posting-host=153.98.68.197; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:11734 Date: 2010-05-18T07:36:34-07:00 List-Id: So, if I understand correctly, your problem boils down to: how do I tell Ubuntu's gnat-gps to call gprbuild instead of gnatmake? IIRC, this is triggered by your project file containing the Languages attribute: for Languages use ("Ada", "CPP"); -- or something similar The presence of this attribute instructs GPS to call gprbuild instead of gnatmake. I think there is also a check box somewhere in the Project Editor of GPS to make a project multi-language. Sorry that I cannot be more specific; I'm completely free of C++ and use Emacs for everything :) If this works, you can uninstall GNAT GPL Edition and have a completely clean install. If this still fails, you can still use GNAT GPL Edition but the problem is setting the $PATH in GPS so that it will call the gprbuild and, in turn, the gcc from GNAT GPL Edition instead of the system- provided ones. -- Ludovic Brenta.