From: Jacob Sparre Andersen <sparre@nbi.dk>
Subject: GNAT Project Files?
Date: 25 Jun 2005 18:11:25 +0200
Date: 2005-06-25T18:11:25+02:00 [thread overview]
Message-ID: <m21x6qfmc2.fsf@hugin.crs4.it> (raw)
I have some difficulties with understanding GNAT project files. And
since most of tha Ada libraries on Debian seem to use them, it looks
like I have to as well.
First I tried using the GNAT Programming System (2.1.0-4) to generate
a project file, but GPS couldn't generate a file it could understand
itself, so I dropped that idea.
My second solution was to try to put one together myself:
-----
with "/usr/share/ada/adainclude/aws";
with "/usr/share/ada/adainclude/charles";
with "/home/sparre/Ada/Pakker/Strenge/string_arrays";
with "/home/sparre/Ada/Programmer/CGI/Ordlisten/get_random_words";
project Test_Word_Buffer is
for Object_Dir use ".";
for Exec_Dir use ".";
for Main use ("test_word_buffer");
end Test_Word_Buffer;
-----
At least GNAT doesn't complain about syntax errors in this file, but
once it comes to the linking stage I get a whole bunch of errors
looking like these:
-----
b~test_word_buffer.o(.text+0xa32): In function `adainit':
: undefined reference to `aws__os_lib_E'
b~test_word_buffer.o(.text+0xa48): In function `adainit':
: undefined reference to `aws__os_lib___elabs'
b~test_word_buffer.o(.text+0xa4e): In function `adainit':
: undefined reference to `aws__os_lib_E'
-----
What is wrong/missing in the GNAT project file?
Jacob
--
Adlai Stevenson said it all when, at an event during the
1956 Presidential campaign, a woman shouted, "You have the
vote of every thinking person!" Stevenson shouted back,
"That's not enough, madam, we need a majority!"
next reply other threads:[~2005-06-25 16:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-25 16:11 Jacob Sparre Andersen [this message]
2005-06-25 18:14 ` GNAT Project Files? Stephen Leake
2005-06-25 18:53 ` Jacob Sparre Andersen
2005-06-25 20:53 ` Pascal Obry
2005-06-26 0:08 ` Stephen Leake
2005-06-26 7:55 ` Pascal Obry
2005-06-26 13:00 ` Stephen Leake
2005-06-26 0:22 ` Jacob Sparre Andersen
2005-06-26 7:59 ` Pascal Obry
2005-06-26 13:24 ` Ludovic Brenta
2005-06-26 19:40 ` Pascal Obry
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox