missing libgnat-GPL2005.a

John Merryweather Cooper john_m_cooper at yahoo.com
Tue Jan 2 08:17:35 PST 2007


Petr Holub wrote:
>> It looks like a bug in gnatmake and/or gnatgcc.  I've built and 
>> installed all three versions of gnat from ports, and all three versions 
>> install the normative environment library as libgnat.a.  It shouldn't be 
>> possible to build too many working programs without correctly linking to 
>> libgnat.a, so I'm curious as to what's going wrong to trigger this error.
>>     
>
> I think it's combination of gnatmake building shared library
> and using gnat project (GPR) for that purpose. I will try to
> find out if I can trigger this on some simpler scenario, e.g.
> building simple binary using GPR similar to the one used in
> XMLAda.
>
> Petr
>
>
>   
I can confirm that this problem relates to build static vs. shared 
libraries.  It seems that if the compiler is built static, then making 
shared libraries that need the compiler runtime will run into problems.

jmc


More information about the freebsd-ports mailing list