Description:
Discussion about Ada*.
|
|
|
Linking with GNAT on Windows
|
| |
Hi, Imagine a C library compiled with Visual Studio. This library is used by an Ada program by means of pragma Import. When the C library is compiled in the Debug mode, GNAT can link the whole program. If the same C library is compiled in the Release mode, the GNAT linker says "undefined reference" with regard to the C... more »
|
|
Can run ADA programs only from windows cmd-line
|
| |
On my new Windows-7 computer I have installed GPS-GNAT 2009. Compilation and building of programs works fine, but running of programs is only possible on the Windows cmd-line. How can the programs be executed from the GPS-window? When GPS => Build => Run => <executablename> is done, at the lower right corner of the window the name of the executable is shown.... more »
|
|
Concatenate enumeration
|
| |
Hi, I have a enumerate type and I have another one which I want to add some enumerations. So: type Enumerate_Type is ( NONE, READY ); for Enumerate_Type use ( NONE => 0, READY=> 1 ); for Enumerate_Type'Size use 1; and I want to create a new type Enumerate2_Type which could be the... more »
|
|
Forcing use of "constructors"
|
| |
Hello, all. What's the preferred way to mandate that objects be created by the use of given "constructor" subprograms? By this, I mean that I want to create a type and the only way to get new values of this type is to use a subprogram that I provide. * It's a record type. * A few of the components must be set to "sensible" values before... more »
|
|
Saving Files in GPS Under Windows 7
|
| |
I'm running Windows 7 Ultimate. I installed the latest download from GNAT/GPS from [link]. After creating a file in GPS I try to save it, it just "blinks" but does not save the file. I have to create the file external to GPS and then it will overwrite it. Has anyone had any similar problems under Windows 7?... more »
|
|
|