On Mon, 29 May 2006 11:00:21 -0700
Tim Howe <[EMAIL PROTECTED]> wrote:

> 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 have a solution now...  The OpenBSD port is built with 
--disable-shared option apparently.  So removing the -shared flags from the 
main project file seems to do the trick.

--TimH

Reply via email to