Vadim Godunko <[email protected]> writes: > On 04/29/2010 12:46 PM, Roger Mc Murtrie wrote: >> I just realised what's wrong. >> In gnat/config.cgpr I needed to change >> for Driver ("C++") use "/usr/local/ada-4.4/bin/g++"; >> for Driver ("C++") use "/usr/bin/g++"; >> which was what we had to do to build qtada-gpl-3.0.0.
That was put there by gprconfig; it found the "wrong" compiler. So it would be good to figure out why. what does this give: /usr/bin/g++ -dumpmachine /usr/bin/g++ -dumpversion /usr/local/ada-4.4/bin/g++ -dumpmachine /usr/local/ada-4.4/bin/g++ -dumpversion if both the machine and the version match, the only solution is to ensure that only one is in PATH when gprconfig is run. >> so now it compiles all those cpp files in source/core >> but then gprlib QtAdaCore.lexch fails with >> ld: library not found for -lgnarl-2009 >> > Good news! > >> so I guess I'd better find libgnarl-2009 >> > 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). You never answered this question: Did you found libgnarl*.dylib file? What is its exact name? That will help determine the proper fix. -- -- Stephe _______________________________________________ qtada-users mailing list [email protected] http://box347.bluehost.com/mailman/listinfo/qtada-users_lists.qtada.com
