[ADA] Ou téléchargé la dernière version Linux

Résolu/Fermé
Arno59 Messages postés 4600 Date d'inscription jeudi 23 octobre 2003 Statut Contributeur Dernière intervention 18 avril 2023 - 12 févr. 2006 à 15:20
Arno59 Messages postés 4600 Date d'inscription jeudi 23 octobre 2003 Statut Contributeur Dernière intervention 18 avril 2023 - 13 févr. 2006 à 13:22
Bonjour,

Je dévelope en ADA 95 sous Windows XP, mais depuis quelque moi je migre vers Linux (Debian) en entreprise, mais je ne sais pas ou se trouve la dernière version pour Linux ?

Ada 2005 ?

- site téléchargement : version Ada 1983 & 1995
http://www.adahome.com/
http://www.adahome.com/articles/1998-02/ar_lessons95.html

http://public.planetmirror.com/pub/gnat

A voir également:

1 réponse

Arno59 Messages postés 4600 Date d'inscription jeudi 23 octobre 2003 Statut Contributeur Dernière intervention 18 avril 2023 484
13 févr. 2006 à 13:22
Je n'arrive pas à compiler correctement mes sources sous Linux ?

http://public.planetmirror.com/pub/gnat/3.12p/



-- Installation sous Linux :


/usr/local/Ada_95
[tux@localhost Ada_95]$ ls -l
total 8
drwxr-xr-x  7  501 rpm 4096 fév 13 12:30 gnat-3.12p-i686-pc-linux-gnu-bin/
drwxr-xr-x  4 1005 rpm 4096 oct 24  2002 gnat-3.15p-src/



Version 3.12
gnat-3.12p-i686-pc-linux-gnu-bin/

Installation de la version binaire

-- Compilation avec gnat 3.12:


exemple:
[tux@localhost ~]$ cd /home/tux/Desktop/Algo_Prog/Cours/
[tux@localhost Cours]$gnatmake Ada01_01.adb
gcc -c Ada01_01.adb
Ada01_01.adb:7:11: warning: file name does not match unit name, should be "ada01_01.adb"
gnatbind -x Ada01_01.ali
gnatlink Ada01_01.ali
/usr/lib/gcc-lib/i686-pc-linux-gnu/2.8.1/adalib/libgnat.a(s-fileio.o): In function `system__file_io__open':
s-fileio.adb:(.text+0xead): warning: the use of `tmpnam' is dangerous, better use `mkstemp'

Mais dépendance avec paquetage cc-lib/i686-pc-linux-gnu/2.8.1/adalib/libgnat.a

ERREUR de constructions:


[tux@localhost Chap01]$ ls -l
total 572
-rw-rw-rw- 1 Tux Tux 36352 oct 7 2004 01_Intro.doc
-rwxr-xr-x 1 Tux Tux 246817 fév 13 13:07 Ada01_01* :executable
-rw-rw-rw- 1 Tux Tux 491 fév 13 13:03 Ada01_01.adb :body
-rw-r--r-- 1 Tux Tux 1636 fév 13 13:07 Ada01_01.ali : lib
-rw-r--r-- 1 Tux Tux 1248 fév 13 13:07 Ada01_01.o : OBJET
-rw-rw-rw- 1 Tux Tux 10070 oct 7 2004 Cours_Chap01_CPT.pdf
drwxrwxrwx 2 Tux Tux 4096 avr 4 2005 Programmes/


Version 3.15
gnat-3.15p-src/

[tux@localhost Ada_95]$ cd gnat-3.12p-i686-pc-linux-gnu-bin/
[tux@localhost gnat-3.12p-i686-pc-linux-gnu-bin]$ ls -l
total 7140
-rwxr-xr-x  1  501 rpm  1312860 sep 14  1999 cc1*
-r--r--r--  1  501 rpm    18007 sep 14  1999 COPYING
-rwxr-xr-x  1  501 rpm    78028 sep 14  1999 cpp*
-rw-r--r--  1  501 rpm     1744 sep 14  1999 crtbegin.o
-rw-r--r--  1  501 rpm     2016 sep 14  1999 crtbeginS.o
-rw-r--r--  1  501 rpm     1296 sep 14  1999 crtend.o
-rw-r--r--  1  501 rpm     1560 sep 14  1999 crtendS.o
-rwxr-xr-x  1  501 rpm     6500 sep 14  1999 doconfig*
drwxr-xr-x  2  501 rpm     4096 sep 14  1999 examples/
-rw-r--r--  1  501 rpm    14042 sep 14  1999 features
-rw-r--r--  1  501 rpm     3794 sep 14  1999 float.h
-rwxr-xr-x  1  501 rpm    16288 sep 14  1999 gcov*
drwxr-xr-x  2  501 rpm     4096 sep 14  1999 ginclude/
-r--r--r--  1  501 rpm     2482 sep 14  1999 glimits.h
-rwxr-xr-x  1  501 rpm  3048564 sep 14  1999 gnat1*
-rwxr-xr-x  1  501 rpm   171540 sep 14  1999 gnatbind*
-rwxr-xr-x  1  501 rpm    13044 sep 14  1999 gnatbl*
-rwxr-xr-x  1  501 rpm   131632 sep 14  1999 gnatchop*
-rwxr-xr-x  1  501 rpm   267424 sep 14  1999 gnatfind*
-rwxr-xr-x  1  501 rpm    26634 sep 14  1999 gnathtml.pl*
-r--r--r--  1  501 rpm     7007 sep 14  1999 gnatinfo.txt
-rwxr-xr-x  1  501 rpm    63488 sep 14  1999 gnatkr*
-rwxr-xr-x  1  501 rpm   129024 sep 14  1999 gnatlink*
-rwxr-xr-x  1  501 rpm   127256 sep 14  1999 gnatls*
-rwxr-xr-x  1  501 rpm   149388 sep 14  1999 gnatmake*
-rwxr-xr-x  1  501 rpm   129548 sep 14  1999 gnatmem*
-rwxr-xr-x  1  501 rpm   138592 sep 14  1999 gnatprep*
-rwxr-xr-x  1  501 rpm    92640 sep 14  1999 gnatpsta*
-rwxr-xr-x  1  501 rpm    81708 sep 14  1999 gnatpsys*
-rwxr-xr-x  1  501 rpm   266944 sep 14  1999 gnatxref*
-r--r--r--  1  501 rpm      330 sep 14  1999 gsyslimits.h
drwxr-xr-x  2 root root    4096 fév 13 12:30 include/
-rw-r--r--  1  501 rpm    14076 sep 14  1999 libaddr2line.a
-rw-r--r--  1  501 rpm   341930 sep 14  1999 libgcc.a
-rw-r--r--  1  501 rpm   238346 sep 14  1999 libgthreads.a
-rw-r--r--  1  501 rpm    74242 sep 14  1999 libmalloc.a
-rw-r--r--  1  501 rpm    62598 sep 14  1999 libpthread.a
-r--r--r--  1  501 rpm      455 sep 14  1999 limitx.h
-r--r--r--  1  501 rpm      270 sep 14  1999 limity.h
-rw-r--r--  1  501 rpm     5944 sep 14  1999 Makefile
-r--r--r--  1  501 rpm     3401 sep 14  1999 README
-r--r--r--  1  501 rpm     7939 sep 14  1999 README.TASKING
drwxr-xr-x  4  501 rpm     4096 jun 30  1999 rts-fsu/
drwxr-xr-x  4  501 rpm     4096 jun 30  1999 rts-native/
-rw-r--r--  1  501 rpm     1598 sep 14  1999 specs
-rwxr-xr-x  1  501 rpm    57404 sep 14  1999 xgcc*
-rw-r--r--  1 root root    3207 fév 13 12:30 xlimits.h


Comment installer la source sous Linux ?
2