comp.lang.ada
 help / color / mirror / Atom feed
* Glide to GPS conversion
@ 2003-04-18 13:29 Bill Sheehan
  2003-04-18 20:59 ` Mark Johnson
  0 siblings, 1 reply; 6+ messages in thread
From: Bill Sheehan @ 2003-04-18 13:29 UTC (permalink / raw)


Hello Adaites,

I have a working Glide environment.

Now I want to migrate it to GPS.

Any hints on the migration process and the build process?

Thanks and have a happy...

BillS





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Glide to GPS conversion
  2003-04-18 13:29 Glide " Bill Sheehan
@ 2003-04-18 20:59 ` Mark Johnson
  0 siblings, 0 replies; 6+ messages in thread
From: Mark Johnson @ 2003-04-18 20:59 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* GLIDE to GPS conversion
@ 2003-06-16 14:49 Bill Sheehan
  2003-06-16 23:39 ` Jeffrey Carter
  0 siblings, 1 reply; 6+ messages in thread
From: Bill Sheehan @ 2003-06-16 14:49 UTC (permalink / raw)


Hello AdaWorkers,

Has anyone converted an Ada project covering multiple directories using a
GLIDE project .adp file
to a GPS project (.gvr)?

How can one do this?

Any available web documents/urls?

Am I to assume that one has to create a new project in GPS using the GUI or
can one do a conversion of the GLIDE project ".adp" file?

Thanks in advance.

BillS





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: GLIDE to GPS conversion
  2003-06-16 14:49 GLIDE to GPS conversion Bill Sheehan
@ 2003-06-16 23:39 ` Jeffrey Carter
  2003-06-17 14:55   ` Bill Sheehan
  0 siblings, 1 reply; 6+ messages in thread
From: Jeffrey Carter @ 2003-06-16 23:39 UTC (permalink / raw)


Bill Sheehan wrote:
> 
> Has anyone converted an Ada project covering multiple directories using a
> GLIDE project .adp file
> to a GPS project (.gvr)?
> 
> How can one do this?

Unless I missed an announcement, if you have GPS, you must be an ACT 
customer. Your best source of information about this, then, would be to 
ask ACT.

-- 
Jeff Carter
"I would never want to belong to any club that
would have someone like me for a member."
Annie Hall




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: GLIDE to GPS conversion
  2003-06-16 23:39 ` Jeffrey Carter
@ 2003-06-17 14:55   ` Bill Sheehan
  2003-06-17 15:56     ` Bill Sheehan
  0 siblings, 1 reply; 6+ messages in thread
From: Bill Sheehan @ 2003-06-17 14:55 UTC (permalink / raw)


> Unless I missed an announcement, if you have GPS, you must be an ACT
> customer. Your best source of information about this, then, would be to
> ask ACT.
>
> -- 
> Jeff Carter

I have. Still waiting.

Just wondering if there is a person out there that likes to publish info on
this topic.
VxWorks workers have done this on a few sites.

The ACT website is useless.
I would have thought that they would publish a GLIDE to GPS
conversion guide, so as to avoid unnecessary service calls.

Maybe they are looking for Professional services work.

Thanks anyway.

BillS






^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: GLIDE to GPS conversion
  2003-06-17 14:55   ` Bill Sheehan
@ 2003-06-17 15:56     ` Bill Sheehan
  0 siblings, 0 replies; 6+ messages in thread
From: Bill Sheehan @ 2003-06-17 15:56 UTC (permalink / raw)


I have to give ACT credit.

They responded to my problem with the following that I'm passing to the
group.

"We do not currently have such an automatic tool, although we have a
design for one, which we'll try and implement asap."


The solution sent to me was a manual conversion of my .adp project to a .gpr
Taking out some work directory names I made a summary:

project T_Exec is
   for Source_Dirs use
      ("c:\dir1\dir2\t\sources1\",
       "c:\dir1\dir2\sources2\",
       "c:\dir1\dir2\services\",
       "c:\dir1\dir2\t\",
       "c:\dir1\dir3\Rtos\");
   for Object_Dir use ".";
   for Main use ("t_exec.adb");

   package Compiler is
      for Default_Switches ("Ada")
         use ("-gnatq", "-gnatQ", "-mlongcall");
   end Compiler;

   package Linker is
      for Default_Switches ("Ada")
         use ("-msoft_float", "-mlongcall");
   end Linker;

   package Ide is
      for Compiler_Command ("Ada") use "powerpc-wrs-vxworks-gnatmake";
      for Debugger_Command use "powerpc-wrs-vxworks-gdb";
   end Ide;

end T_Exec;






^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-06-17 15:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-16 14:49 GLIDE to GPS conversion Bill Sheehan
2003-06-16 23:39 ` Jeffrey Carter
2003-06-17 14:55   ` Bill Sheehan
2003-06-17 15:56     ` Bill Sheehan
  -- strict thread matches above, loose matches on Subject: below --
2003-04-18 13:29 Glide " Bill Sheehan
2003-04-18 20:59 ` Mark Johnson

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