All Questions
Tagged with gnat compilation
10 questions
2
votes
2
answers
480
views
Using Gnu Make to compile ada project requiring gnatprep and gnatchop
I have been trying to convert multiple large ada compilations from a script based approach to using a gnu make 3.82 makefile and could use some veteran knowledge.
Some background:
GNAT 4.8.5 on Red ...
2
votes
2
answers
623
views
Ada static compilation
I have compiled a simple Ada application which uses the Win32Ada library.
I'm compiling the application on Windows using:
gnatmake C:\GNAT\2020\bin\src\main.adb -I"C:\GNAT\2020\lib\win32ada" ...
1
vote
2
answers
338
views
Ada listing files.... what are the right compiler in GNAT to get them to come out
I am used to getting nice listing files from C code where I can see lovely source code intertwined with opcodes and hex offsets for debugging as seen here: List File In C (.LST) List File In C (.LST)
...
2
votes
2
answers
3k
views
How to cross-compile with .gpr project file and gprbuild?
I'm trying to cross-compile from Linux (Fedora 29) an Ada program with Windows as target. I have no knowledge about compilation and the Gnat project manager doc couldn't help the noob I am.
I would ...
1
vote
0
answers
892
views
How can I compile an Ada project (that already compiles in green hills) using GNAT
I have a directory structure of
-Root
-Multiple Packages (they all follow this pattern)
-greenhillsCompileSwitches.gpj
-fileWithLocationsOfProjectSource.gpj
-Source Code Directory
...
0
votes
1
answer
137
views
GNAT Ada gprbuild execution data
Capture and display GNAT Aada GPS compile date/time
Running GNAT Ada/GPS builds and I want to capture and display the date/time of the compile build to my user interface. Must I read the executable ...
1
vote
1
answer
751
views
Learning simple Ada, getting GNAT compiling error in OS X
Sup all!
Glad to have found my way here hoping to receive some guidance in new chartered territory. I wanna learn Ada so I've installed EMACS and GNAT. I use a mac so it's all for OS X.
The problem ...
0
votes
0
answers
242
views
Ada: error while loading shared libraries: libgnatprj
I am trying to compile my ada program on ubuntu on windows.
I am running
gnatmake sieve.adb
And getting the following output
/usr//bin/gnatbind: error while loading shared libraries: libgnatprj.so....
2
votes
1
answer
241
views
Slow gprbuild on windows
When I run a project build of an Ada project (gpr) on windows using gprbuild (whether in GNAT GPL or cygwin), it is very slow. Even a simple project compilation takes minutes. The same project ...
1
vote
2
answers
281
views
Simple Ada program with wrong output
Complete beginner to Ada here.
I am trying to compile and run a simple Ada program, from here: http://www.dwheeler.com/lovelace/s1sf.htm
Here is the code:
-- Demonstrate a trivial procedure, with ...