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,9ee057066dc3d3c5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-04-18 14:00:18 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newspeer.monmouth.com!newsfeed!cyclone.swbell.net!bos-service1.ext.raytheon.com!dfw-service2.ext.raytheon.com.POSTED!not-for-mail Message-ID: <3EA06714.C52A0A91@raytheon.com> From: Mark Johnson X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Glide to GPS conversion References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 18 Apr 2003 15:59:00 -0500 NNTP-Posting-Host: 192.27.48.39 X-Complaints-To: news@ext.ray.com X-Trace: dfw-service2.ext.raytheon.com 1050699617 192.27.48.39 (Fri, 18 Apr 2003 16:00:17 CDT) NNTP-Posting-Date: Fri, 18 Apr 2003 16:00:17 CDT Organization: Raytheon Company Xref: archiver1.google.com comp.lang.ada:36297 Date: 2003-04-18T15:59:00-05:00 List-Id: Bill Sheehan wrote: > > Hello Adaites, > > I have a working Glide environment. > I assume you have existing glide format project files. > Now I want to migrate it to GPS. > I assume you want to use the new format project files. > Any hints on the migration process and the build process? > If you are looking for an automated method - I am not aware of one. If you have a large development effort w/ a lot of directories, I suggest you take it one directory at a time. I use a default.gpr file (for Ada and a second for C), which has something like... for Source_Dirs use (); for Source_Files use (); Define a bunch of symbols for common compile options, files to link with, etc. package Naming (since we still use Apex file names) package Binder, Compiler, Builder, Linker all use the defined symbols for Default_Switches package Ide specifies CVS for the VCS_Kind (since we use CVS). Then all the other project files can then... - with the appropriate default.gpr file - with in other directory .gpr files as needed (dependent information) - specify the source files & directories, object_dir (same in almost all cases), exec_dir (varies with the target system), main - specify package Binder, Compiler, Builder, Linker, and Ide to rename the defaults in many cases but use special case values as needed. We also use an extensive set of environment variables in our existing builds - these are imported into GPS using external as needed. We don't use the short cut we used on glide w/ specifying all directories in a single project file. The time to start GPS is extremely long in that case (beta versions) and caused a number of odd behaviors. Glide did not worry about duplicate file names in separate directories; GPS does. If you have that case, you must have separate project files (in our case - we had a single spec w/ different bodies for different target systems). --Mark