Hello.
I'm trying to add ebuild for qtada in Gentoo linux.
I'm using qtada-3.0.0 version.
I'm using gnat-gcc-4.4.3 compiler.

During qtada compilation I've got the following error:

../../tools/gen_sizes/gen_sizes > qt_ada-internals-value_class_sizes.ads.new
Created: qt_ada-internals-value_class_sizes.ads
gprbuild -j2 -p -aP../../gnat -aP../../gnat --config=../../gnat/config.cgpr -Psource_core.gpr object directory "/var/tmp/portage/qtada-gpl-3.0.0/source/core/.objs" created for project source_core library directory "/var/tmp/portage/qtada-gpl-3.0.0/source/core/.libs" created for project source_core
gprbuild: unable to locate "/usr/x86_64-pc-linux-gnu/gnat-gcc-bin/4.4/gcc"

Why it tries to use gcc from "/usr/x86_64-pc-linux-gnu/gnat-gcc-bin/4.4/" path, but not from /usr/bin ?

I've configured grpbuild as follow :

gprconfig has found the following compilers on your PATH.
Only those matching the target and the selected compilers are displayed.
* 1. GNAT for Ada in /usr/x86_64-pc-linux-gnu/gnat-gcc-bin/4.4/ version 4.4 (default runtime)
*  4. GCC-ASM for Asm in /usr/bin/ version 4.4.3
*  7. GCC-ASM for Asm2 in /usr/bin/ version 4.4.3
* 10. GCC-ASM for Asm_Cpp in /usr/bin/ version 4.4.3
* 13. GCC for C in /usr/bin/ version 4.4.3
* 16. G++ for C++ in /usr/bin/ version 4.4.3
  18. GFORTRAN for Fortran in /usr/bin/ version 4.4.3
19. GFORTRAN for Fortran in /usr/x86_64-pc-linux-gnu/gcc-bin/4.4.3/ version 4.4.3
Select or unselect the following compiler (or "s" to save): s

You can regenerate the same config file in batch mode
 with the following command line:
gprconfig --batch --target=x86_64-pc-linux-gnu --config=Ada,4.4,default,/usr/x86_64-pc-linux-gnu/gnat-gcc-bin/4.4/,GNAT --config=Asm,4.4.3,,/usr/bin/,GCC-ASM --config=Asm2,4.4.3,,/usr/bin/,GCC-ASM --config=Asm_Cpp,4.4.3,,/usr/bin/,GCC-ASM --config=C,4.4.3,,/usr/bin/,GCC --config=C++,4.4.3,,/usr/bin/,G++

Creating configuration file: /usr/lib64/ada/x86_64-pc-linux-gnu-gnat-gcc-4.4/share/gpr/default.cgpr

--
Best regards,
Alexander Basov.


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

Reply via email to