Ada Programming
SearchWiki

Articles (edit)

  • Compile gcc
  • Compile GNAT/GPL
  • Compile GNAT/Pro
  • Compile XML/Ada
  • Compile ASIS
  • Compile GPS

VIM (edit)

  • AdaMode
  • WikiConvert
  • Plugins
  • Trace Remover Restorer
  • GNAT Programming System

Skin

  • Standart
  • DropDown
  • Monobook

RSS Feeds

  • Recent Changes

Edit Sidebar
  1. Main?
    1. Home Page

  1. General Info
    1. Ada@Krischik

  1. Tutorials
    1. English
    2. Frensh
    3. Spanish

  1. Projects
    1. AdaCL
    2. wikibook-ada
    3. ASIS
    4. GLADE
    5. Florist

  1. PmWiki
    1. Install
    2. Editing
    3. Index
    4. FAQ
    5. Editing
    6. Notes
Articles/
Compile ASIS
Read PageEdit PagePage AttributesPage HistoryUpload
Printable View

This pages is currently moving to http://gnat-asis.sourceforge.net/pmwiki.php/Main/HomePage. Until the move has ended you need to read both pages - sorry.

How to compile ASIS

The following chapter describes how to compile ASIS (http://libre.act-europe.fr/GNAT, http://sourceforge.net/projects/adacl).

Get the lib

If you have wget installed then you could try:

 mkdir --parents /work/gnu_3.4/asis
 cd /work/gnu_3.4/asis
 CVS_RSH=ssh
 cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/adacl login 
 cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/adacl co .

Otherwise just use your favorite browser and download from the XML/Ada side (http://libre.act-europe.fr/xmlada).

Configure

Nothing special:

 configure --prefix=/opt/ada

Compile

For some unknown reason AdaBrowse expects some symbolic links for the libraries. Delete ADA_INCLUDE_PATH and ADA_OBJECT_PATH because the Compile will fail if an older version is found.

 cd /opt/ada/lib/gcc/i686-pc-linux-gnu/3.4.2/adalib
 ln -s libgnarl.a libgnarl-3.4.a
 ln -s libgmem.a libgmem-3.4.a
 ln -s libgnarl.a libgnarl-3.4.a
 ln -s libgnat.a libgnat-3.4.a
 cd /work/gnu_3.4/asis
 ADA_INCLUDE_PATH=
 ADA_OBJECTS_PATH=
 make

Install

Set ADA_INCLUDE_PATH and ADA_OBJECT_PATH to the library's destination path.

 make install
 declare -x ADA_INCLUDE_PATH=/opt/ada/include/xmlada:/opt/ada/include/asis
 declare -x ADA_OBJECTS_PATH=/opt/ada/include/xmlada:/opt/ada/include/asis

You might have to repeat compile and install since some of the included tools compile only when ASIS is allready installed.

Could there be a Batch for this as well?

Yes, but it is not finished yet. In fact, it's so untested I don't dare offer it for download.


© 2005,2006 Martin Krischik, Content is available under GNU Free Documentation License.

Page last modified on January 24, 2008, at 08:17 PM
  • Ada programming
  • SearchWiki
  • RecentChanges
  • AllRecentChanges
  • WikiHelp

  1. ▲ Top ▲
  2. Edit:
  3. SideBar
  4. MenuBar
  5. BottomBar
  6. GroupHeader
  7. GroupFooter