Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Jan 2007 11:17:32 -0500
From:      John Merryweather Cooper <john_m_cooper@yahoo.com>
To:        Petr Holub <hopet@ics.muni.cz>
Cc:        ports@freebsd.org, karel@lovetemple.net
Subject:   Re: missing libgnat-GPL2005.a
Message-ID:  <459A859C.6020008@yahoo.com>
In-Reply-To: <000101c729b8$4af722a0$5317fb93@KLOBOUCEK>
References:  <000101c729b8$4af722a0$5317fb93@KLOBOUCEK>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?459A859C.6020008>