I installed gcc 4.1 with SUBPACKAGE=-ada gnatmake seems to work fine as far as compiling Ada source files.
I am working through the Ada wikibook, and they have a downloadable source package with GNAT project files in it. (Link to the zip file is on this page: http://en.wikibooks.org/wiki/Ada_Programming/Building) When trying to build the projects with the project files, they fail to link like so: /usr/bin/ld: cannot find -lgnat-4.1 collect2: ld returned 1 exit status gnatlink: cannot call /usr/local/bin/egcc *** link failed I'm under the impression it is looking for libgnat.so, but the only place I have found this on my system is in the gcc 4.1 build directory here: /usr/ports/lang/gcc/4.1/w-gcc-4.1.20060303/bootstrap/lib/gcc-lib/i386-unknown-openbsd3.9/3.3.6/adalib/libgnat.so It appears to have been built to "bootstrap" the building of gnat, but wasn't built as part of the gnat install. Is this a mistake? If it is it is probably on my part... Does anyone have any insight into what I may have to do? This is OpenBSD 3.9-current (GENERIC) #737: Fri May 12 19:59:49 MDT 2006 Ports tree may be a couple days more recent than that. --TimH
