comp.lang.ada
 help / color / mirror / Atom feed
From: Mark Johnson <mark_h_johnson@raytheon.com>
Subject: Re: Glide to GPS conversion
Date: Fri, 18 Apr 2003 15:59:00 -0500
Date: 2003-04-18T15:59:00-05:00	[thread overview]
Message-ID: <3EA06714.C52A0A91@raytheon.com> (raw)
In-Reply-To: g5Tna.33261$MB4.12734033@news4.srv.hcvlny.cv.net

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



  reply	other threads:[~2003-04-18 20:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-18 13:29 Glide to GPS conversion Bill Sheehan
2003-04-18 20:59 ` Mark Johnson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-06-16 14:49 GLIDE " Bill Sheehan
2003-06-16 23:39 ` Jeffrey Carter
2003-06-17 14:55   ` Bill Sheehan
2003-06-17 15:56     ` Bill Sheehan
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox