Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
1 answer
78 views

How to create an executable Ada file with gnatmake

I have an Ada program that calls a C function. I have the C object file. I wrote an small test to see if it works. When I run: $ gnatmake main.adb -largs cfile.o -lpthread apparently there's no error ...
Dimitri Emmanuel Zokoualouba M's user avatar
0 votes
0 answers
61 views

add another packages into a ada project

here i've two projects (project1 and project2) on my machine (debian 12 if it help) which are into two different directories. the first, project1 is into All_My_Projects/App_Projects/Project1 and the ...
Dimitri Emmanuel Zokoualouba M's user avatar
2 votes
1 answer
83 views

Speeding up alr build with gtk

Is there a way of speeding up an alr build with gtk? Say I start a new project. alr init --bin a98xml alr with gtk That is simple enough. alr build This takes about 4 minutes. We only have to do ...
cup's user avatar
  • 8,321
0 votes
1 answer
88 views

How to switch off -gnatyt in alr

I've just installed alr on Linux. Haven't used ada for about 10 years and found that gnat community is no longer supported. Entered the following program with Ada.Text_IO; procedure A02hello is ...
cup's user avatar
  • 8,321
1 vote
1 answer
97 views

Build the whitakers-words dictionary with Alire

First of all I want to apologize for something wrong I will say, I'm new to Ada and Alire. I am trying to use the whitakers-words dictionary (https://github.com/mk270/whitakers-words) for a personal ...
Dennis Pierantozzi's user avatar
3 votes
4 answers
345 views

How can I add an additional compiler option in an Alire .toml file?

For cross-compilation I need to specify the MCU type as a option to the Ada, C and theoretically C++ compiler. How can I do that and in a way that it is also applied when building the dependencies? At ...
Torsten Knodt's user avatar
0 votes
0 answers
123 views

How to build SSL enabled for Ada Web Server?

I'm trying to get HTTPS requests working with Ada Web Server (AWS) found at https://github.com/AdaCore/aws/tree/master I'm on Windows 11 and I don't understand how to make a build of the library and ...
Royal Mail's user avatar
1 vote
1 answer
155 views

Cannot build SDL Ada Bindings on OSX Sonoma because of error: missing binary operator before token "("

I am trying to write a small game using ADA (via Alire and gnat_native toolchain) and SDL2 on my OSX Sonoma 14.4.1. For Ada I am using Alire and from what I can see I have latest gnat native version (...
sanelli's user avatar
  • 168
-1 votes
1 answer
121 views

Alire macOS Sonoma GTKAda "gtk.ads" not found when compiling a simple "Hello, World!" program

I am having trouble compiling and running a simple GTKAda "Hello, World!" program on a macOS Sonoma M3 Mac. I'm using "alr-6768bdb" from GitHub it's the 11, December 2023 beta ...
Ryan Pochmara's user avatar
-1 votes
1 answer
177 views

Trying to compile a simple Ada program, getting GNAT compiling error in OS 14.1 (23B73) on a M2 MBP

❯ alr build ⓘ Building myproj/myproj.gpr... Link [link] myproj.adb 0 0x10034af43 __assert_rtn + 64 1 0x10024cf43 ld::AtomPlacement::findAtom(unsigned char, unsigned long long, ld::...
user17931281's user avatar
3 votes
2 answers
2k views

Gcc 13.1.0 macOS Sonoma not compiling Ada or any languages on Intel or M1 Macs

I just upgraded to macOS Sonoma on my Intel and M1 Macs, and Gcc and Alire cannot compile simple Ada programs or any others so I suspect it's a compatibility issue. I am using Gcc 13.1.0 aarch64 and ...
Ryan Pochmara's user avatar
1 vote
1 answer
154 views

alire cannot run hello programm error code 35

Hello I am trying to run Hello program on Alire on Windows but can't I get this error, can someone help? Note: Selected tool version gprbuild=22.0.1 Note: Deploying gprbuild=22.0.1... curl: (35) ...
Sir_Joan_the_third's user avatar
3 votes
2 answers
228 views

Alire mandates use of GitHub account?

I went to try out the Alire package manager for Ada the other night, and found this in the documentation: Issue alr init --bin myproj (you can use --lib for a library project) The first time you run ...
flibwib's user avatar
  • 136
1 vote
1 answer
257 views

Cannot Run GNATStudio - WSL

I've checked the other questions and this case doesn't seem to be covered. I'm running Ubuntu in WSL on my windows machine and I'm trying to run GNATStudio, any time I attempt to run the program ...
Fuzzy_Bunnys's user avatar
0 votes
2 answers
343 views

How can I install the ZFP (Zero Foot Print) RTS (Run Time System) for AVR with the Alire package manager for Ada?

How can I install the ZFP (Zero Foot Print) RTS (Run Time System) for AVR with the Alire package manager for Ada? My project file, I think correctly, contains: project Avr is for Runtime("Ada&...
Torsten Knodt's user avatar

15 30 50 per page