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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost2.xs4all.net!news.kpn.nl!not-for-mail From: "ldries46" Newsgroups: comp.lang.ada References: <570262dc$0$4107$e4fe514c@news.kpn.nl> In-Reply-To: Subject: Re: Migrating Ada complier and programs from Windows to LInux Date: Tue, 5 Apr 2016 12:36:56 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Newsreader: Microsoft Windows Live Mail 16.4.3528.331 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331 Message-ID: <5703954a$0$4287$e4fe514c@news.kpn.nl> NNTP-Posting-Host: 77.168.179.107 X-Trace: 1459852618 dreader34.news.xs4all.nl 4287 77.168.179.107:58705 X-Complaints-To: abuse@kpn.nl Xref: news.eternal-september.org comp.lang.ada:29989 Date: 2016-04-05T12:36:56+02:00 List-Id: As I am momentarily developping on Windows 10 but I want also to b able my programs oLinux machines I want to run the same version of the developping environment on both systems. Is a list of environment variables available to run the GPS correctly on XUbuntu or should I switch to another version of Linux and which? "Dmitry A. Kazakov" schreef in bericht news:ndu9j7$gq8$1@gioia.aioe.org... On 2016-04-04 14:44, ldries46 wrote: > I want to migrate some of my programs from windows to Linux. Therefore I > tried to install GNAT Programming Studio on Linux (XUbuntu). AFAIK, FSF Debian GPS is still GCC 4.8, while the actual GNAT GCC 5.x. Basically, there is no usable GPS for Linux, IMO. > I do encounter several problems: > 1. I can only in the .gpr files direct path for dource directories. With > relative path the files in my directories are not recognized apart of > the project This where the with GtkAda delivered gtkada.gpr uses > relative path. There is no official release of GtkAda for GTK 3.x for Linux. Then, there are serious issues with the gprbuild under Linux. You should use gnatmake regardless warnings it issues. That in turn precludes GPS. (In earlier version you could fool GPS by writing a shell script named gprbuild that calls gnatmake from inside. It does not work well now.) > 2. When building a very simple program I encounter several errors in the > building phase with files not found (.so files) and and therefore other > error probably depemdent on these files. You have a broken project file. > I suspect that there is somthing wrong with one or more Path variables > but cannot find which variables and what the variables should be I do developing under Windows and build the results under various Linux distributions and machines. Everything works, including GtkAda. You don't need to fix Path variables to make it working. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de