Java 2 Ada

Ada Utility Library 1.4.0 is available

By Stephane Carrez 4 comments

Ada Utility Library is a collection of utility packages for Ada 2005. A new version is available which provides:

  • Support for localized date format,
  • Support for process creation and pipe streams (on Unix and Windows),
  • Support for CSV in the serialization framework,
  • Integration of Ahven 2.1 for the unit tests (activate with --enable-ahven),
  • A tool to generate perfect hash function

It has been compiled and ported on Linux, Windows and Netbsd (gcc 4.4, GNAT 2011, gcc 4.6.2). You can download this new version at

Add a comment

To add a comment, you must be connected. Login

Casey on 2012-03-19 20:49:46 said:

Thanks for the info, I was experiencing this same issue on my x86_64 architecture, problem solved with the above fix. Thank you for this great Library!
Apoptose on 2012-02-26 07:36:56 said:

arch returns 'x86_64' on my computer.
With the updated source I get 'src/asm-none' in util.gpr too.
Apoptose on 2012-01-19 07:20:48 said:

Thanks, I can compile it with the fix.

I am running an Intel Core i3 (Arrandale).
Apoptose on 2012-01-18 20:36:37 said:

I have trouble compiling Ada Utility Library 1.4.0.
./configure works flawlessly but make:

gnatmake -XMODE=distrib -XPROCESSORS=4 -p -P "util.gpr"
object directory "/home/matt/Downloads/ada-util-1.4.0/obj/util" created for project util
library directory "/home/matt/Downloads/ada-util-1.4.0/lib/util" created for project util
gcc -c -g -O2 -gnat05 -gnatN -I- -gnatA /home/matt/Downloads/ada-util-1.4.0/src/util-texts-formats.adb
gcc -c -g -O2 -gnat05 -gnatN -I- -gnatA /home/matt/Downloads/ada-util-1.4.0/src/util-concurrent-locks.adb
gcc -c -g -O2 -gnat05 -gnatN -I- -gnatA /home/matt/Downloads/ada-util-1.4.0/src/util-encoders-hmac-sha1.adb
gcc -c -g -O2 -gnat05 -gnatN -I- -gnatA /home/matt/Downloads/ada-util-1.4.0/src/util-beans-objects-hash.adb
gcc -c -g -O2 -gnat05 -gnatN -I- -gnatA /home/matt/Downloads/ada-util-1.4.0/src/util-serialize-mappers.adb
gcc -c -g -O2 -gnat05 -gnatN -I- -gnatA /home/matt/Downloads/ada-util-1.4.0/src/util-beans-objects-time.adb
gcc -c -g -O2 -gnat05 -gnatN -I- -gnatA /home/matt/Downloads/ada-util-1.4.0/src/util-locales.adb
gcc -c -g -O2 -gnat05 -gnatN -I- -gnatA /home/matt/Downloads/ada-util-1.4.0/src/util-properties-factories.adb
gcc -c -g -O2 -gnat05 -gnatN -I- -gnatA /home/matt/Downloads/ada-util-1.4.0/src/util-dates.adb
gcc -c -g -O2 -gnat05 -gnatN -I- -gnatA /home/matt/Downloads/ada-util-1.4.0/src/os-linux/util-streams-raw.adb
gcc -c -g -O2 -gnat05 -gnatN -I- -gnatA /home/matt/Downloads/ada-util-1.4.0/src/
gcc -c -g -O2 -gnat05 -gnatN -I- -gnatA /home/matt/Downloads/ada-util-1.4.0/src/
gcc -c -g -O2 -gnat05 -gnatN -I- -gnatA /home/matt/Downloads/ada-util-1.4.0/src/
gcc -c -g -O2 -gnat05 -gnatN -I- -gnatA /home/matt/Downloads/ada-util-1.4.0/src/util-log-loggers.adb
gcc -c -g -O2 -gnat05 -gnatN -I- -gnatA /home/matt/Downloads/ada-util-1.4.0/src/util-beans-factory.adb
gcc -c -g -O2 -gnat05 -gnatN -I- -gnatA /home/matt/Downloads/ada-util-1.4.0/src/util-refs.adb
util-refs.adb:31:26: left hand of assignment must not be limited type
gnatmake: "/home/matt/Downloads/ada-util-1.4.0/src/util-refs.adb" compilation error
make: *** [build] Error 4

Do you have any idea?
I have gnatmake 4.6.2 on GNU/Linux)