mainGNATGPR : access GPR project information - Summary

 
 
Show feedback again
Membership Info
Project Admin:
1 active member

Group identification
Id: #2572
System Name: gnatgpr
Name: GNATGPR : access GPR project information
Group Type: Programs

Search in this Group

in
   

About GNATGPR

GNATGPR is an Ada 2005 GPL software, it allows the user to do simple information request on GNAT GPR project files, like for example :

  • Give all included projects.
  • Give all included sources (transitive or not).
  • Give all included source directories (transitive or not).
  • Give all main files.
  • Give all main directories.
  • Give all included object paths.
  • Give project zombies (duplicated .o or .ali when a source files are moved from one project to another).

There are 2 ways of accessing those services :

  • In a shell using the gnatgpr binary.
  • In Ada using the GNAT_GPR package specification interface.

GNATGPR is based on :

  • A modified version of the GNAT GPL 2008 (GPL) compiler front-end.
    • It gets his own Namet and so on.
    • It can extracts some especially craft comments in the gpr project file.
  • AdaControl (GMGPL), for option analyzis.
    • Only the Options_Analyzer package have been re-used (without any change).
  • AUnit 2.03 (GPL), for unit testing.

Thanks to all the people behind those projects.

GNATGPR Available compilers & platforms

  • gnatgpr uses GNAT-specific packages :
    • GNAT.Case_Util
    • GNAT.Directory_Operations
    • GNAT.Dynamic_HTables
    • GNAT.Dynamic_Tables
    • GNAT.HTable
    • GNAT.OS_Lib
    • GNAT.Spelling_Checker
    • GNAT.Strings
    • GNAT.String_Split
  • gnatgpr builds and works successfully on :
    • x86/Linux (GNAT GPL 2011).
    • x86/Linux (GNAT GPL 2010).
    • x86/Linux (GCC FSF 4.4.3 Ubuntu 10.04).
    • x86/Mac OS X (GNAT GPL 2010).
    • Sparc/Solaris (GNAT Pro 6.1.2).
  • gnatgpr should work on all GNAT platforms.

GNATGPR Roadmap

  • Selection of the next gnatgpr engine (GCC FSF 4.4/GPRBuild/GNAT GPL 2010/GNATColl).
  • Shift to GPL v3.
  • Documentation.
  • GNATGPR production for non-GNAT Ada compilers.
  • GNAT_GPR package interface clean-up.
  • Use of Debian AUnit version.
  • Non transitive analysis for main files, binary directories and object paths.
  • Multi languages processing.
  • Multi root-projects processing.
  • Comply to Debian packaging guidelines (removal of debian directory at upstream level, ...).

GNATGPR Known limitations/bugs

  • gnatgpr general
    • gnatgpr does not handle external reference option for GNAT Project Files yet (see gnatmake -Xnm=val option). However, if you have for example an OS external reference ; ($ gnatmake ... -XOS=Linux), you can export it to the shell ($ export OS=Linux) and the external reference will be taken into account by gnatgpr.
  • gnatgpr -m
    • If a main file is specified without ".adb" extension in the GPR project, only it's Simple_Name is given (and not his absolute file name).
    • All main files are listed, not only the root project main files.

GNATGPR Debian & Ubuntu packages repository

PPA repository :

Add the PPA key :

Registration Date: Wed Feb 27 22:16:06 2008
License: GNU General Public License V2 or later
Development Status: 5 - Production/Stable

 

Latest News 
Release 0.34
     posted by psycose, Wed Aug 10 05:19:31 2011 - 0 replies

#7432 : GNATGPL 2011 validation

--
Enjoy !

Release 0.33
     posted by psycose, Sun Feb 20 06:45:55 2011 - 0 replies

#7336 : Copyright assignment to AdaLabs Ltd
#7337 : GNATGPL 2010 validation
#7340 : AUnit 3 migration

New platform : x86/Mac OS X (GNAT GPL 2010).

--
Enjoy !

Release 0.32
     posted by psycose, Wed Jun 30 14:46:59 2010 - 0 replies

#7111 : GCC 4.4.3 and Ubuntu 10.04 validation

Project roadmap added to project homepage.

--
Enjoy !

Release 0.30
     posted by psycose, Tue Oct 13 22:00:18 2009 - 0 replies

#6785, Get binary absolute names and binary directory.

Following options added :

-[n]b
Display project binaries absolute name
Non-transitive if n given

-bd
Display project binary directory

--
Enjoy !


[Submit News]
[14 news in archive]
Show feedback again

Back to the top


Powered by Savane 3.1-cleanup