On 04/29/2010 01:51 PM, Roger Mc Murtrie wrote:
> 
> On 29/04/2010, at 8:59 PM, Vadim Godunko wrote:
>>>
>> You need to find libgnarl*.dylib file instead and edit config.cgpr (may
>> be you can edit gprbuild knowledge base, but I am not sure this
>> information comes from it or heuristically constructed by gprconfig).
> 
> This seems to be the command that's going wrong.
> 
> /opt/gnat-gpl-2009//libexec/gprbuild/gprlib QtAdaCore.lexch
> building relocatable shared library libQtAdaCore.dylib
> /usr/bin/g++ -dynamiclib -Wl,-flat_namespace -shared-libgcc -o 
> /Ada_Source/qtada-gpl-3.1.0-20100408-3724/source/core/.libs/libQtAdaCore.dylib
>  -L/opt/gnat-gpl-2009/lib/gcc/i386-apple-darwin10.2.0/4.3.4/adalib/ 
> -lgnarl-2009 -lgnat-2009 --------
> 
> Somehow -2009 seems to have got attached to lgnarl
> I can't find where this command comes from.
> I've looked through config.cgpr a couple of times but can't see what I need 
> to edit.
> Also I had a look at the gprconfig databases in /usr/local/share and 
> gnat-gpl-2009/share but couldn't see anything.
> 
>> What should I edit in config.cgpr?
> 
Did you found libgnarl*.dylib file? What is its exact name?

PS. Older version of QtAda installs "patch" on generated config.cgpr to
avoid bugs in the gprbuild GPL 2008, here is relevant code:

sed -e 's/"GNAT 2008"/"GNAT 6.2"/' \
 gnat/config.cgpr > gnat/config.cgpr.aux \
 && mv -f gnat/config.cgpr.aux gnat/config.cgpr

It fixed value of Toolchain_Version, may be this help you...

_______________________________________________
qtada-users mailing list
[email protected]
http://box347.bluehost.com/mailman/listinfo/qtada-users_lists.qtada.com

Reply via email to