Vadim Godunko schrieb:
So, can you please replace <gnatgplroot>/share/gprconfig/compilers.xml
file by attached one and rerun gprconfig?
here is the output, configure doesn't throw errors anymore.
theg...@titania:~$ gprconfig -v
Parsing knowledge base at /opt/gnat/share/gprconfig
Parsing file /opt/gnat/share/gprconfig/targetset.xml
Parsing file /opt/gnat/share/gprconfig/nocompiler.xml
Parsing file /opt/gnat/share/gprconfig/cross.xml
Parsing file /opt/gnat/share/gprconfig/c.xml
Parsing file /opt/gnat/share/gprconfig/fortran.xml
Parsing file /opt/gnat/share/gprconfig/linker.xml
Parsing file /opt/gnat/share/gprconfig/compilers.xml
languages: constant := Project File
warning: environment variable 'WIND_BASE' is not defined
warning: environment variable 'WIND_BASE' is not defined
warning: environment variable 'WIND_BASE' is not defined
Parsing file /opt/gnat/share/gprconfig/gnat.xml
Parsing file /opt/gnat/share/gprconfig/asm.xml
Parsing file /opt/gnat/share/gprconfig/cpp.xml
Only compilers matching target i686-pc-linux-gnu will be preserved
Will examine P /usr/local/sbin
Will examine P /usr/local/bin
Will examine P /usr/sbin
Will examine P /usr/bin
Will examine P /sbin
Will examine P /bin
Will examine P /usr/games
Will examine P /opt/gnat/bin
Will examine P /opt/gtkada/bin
Foreach compiler in /usr/local/sbin regexp=TRUE extra_dir=FALSE
Foreach compiler in /usr/local/bin regexp=TRUE extra_dir=FALSE
Foreach compiler in /usr/sbin regexp=TRUE extra_dir=FALSE
Foreach compiler in /usr/bin regexp=TRUE extra_dir=FALSE
G++ is candidate: filename=g++
target: executing "g++ -dumpmachine" output=<use -v -v> no match
target: grep matched="i486-linux-gnu"
version: executing "g++ --version" output=<use -v -v> no match
version: grep matched="4.3.2"
languages: constant := C++
Adding compiler to interactive menu C++,4.3.2,,/usr/bin/,G++
selected=FALSE
GCC is candidate: filename=gcc
target: executing "gcc -dumpmachine" output=<use -v -v> no match
target: grep matched="i486-linux-gnu"
version: executing "gcc --version" output=<use -v -v> no match
version: grep matched="4.3.2"
languages: constant := C
Adding compiler to interactive menu C,4.3.2,,/usr/bin/,GCC
selected=FALSE
GCC-28 is candidate: filename=gcc
target: executing "gcc -dumpmachine" output=<use -v -v> no match
target: grep matched="i486-linux-gnu"
version: executing "gcc -v" output=<use -v -v> no match
version: grep no match
Ignore compiler since external value "" must match 2\.8\.
Ignore compiler, since couldn't guess its version
GCC-CYGMING is candidate: filename=gcc
target: executing "gcc -mno-cygwin -dumpmachine" output=<use -v -v>
no match
target: grep matched="i486-linux-gnu"
version: executing "gcc --version" output=<use -v -v> no match
version: grep no match
Ignore compiler, since couldn't guess its version
GCC-MINGW32 is candidate: filename=gcc
target: executing "gcc -dumpmachine" output=<use -v -v> no match
target: grep matched="i486-linux-gnu"
version: executing "gcc --version" output=<use -v -v> no match
version: grep no match
Ignore compiler, since couldn't guess its version
GCC-ASM is candidate: filename=gcc
target: executing "gcc -dumpmachine" output=<use -v -v> no match
target: grep matched="i486-linux-gnu"
version: executing "gcc --version" output=<use -v -v> no match
version: grep no match
Ignore compiler, since couldn't guess its version
Foreach compiler in /sbin regexp=TRUE extra_dir=FALSE
Foreach compiler in /bin regexp=TRUE extra_dir=FALSE
Foreach compiler in /usr/games regexp=TRUE extra_dir=FALSE
Foreach compiler in /opt/gnat/bin regexp=TRUE extra_dir=FALSE
GNAT is candidate: filename=gnatmake
target: executing "gcc -dumpmachine" output=<use -v -v> no match
target: grep matched="i686-pc-linux-gnu"
version: executing "gnatls -v" output=<use -v -v> no match
version: grep matched="2008"
variables: executing "gcc -v" output=<use -v -v> no match
variables: grep matched="4.1.3"
languages: constant := Ada
runtimes: search directories matching
\.\./lib/gcc(-lib)?/i686-pc-linux-gnu/4.1.3/adalib/, starting from
/opt/gnat/bin/
<dir>: Recurse into /opt/gnat/bin/..
<dir>: Recurse into /opt/gnat/lib
<dir>: Check directories in /opt/gnat/lib/ that match gcc(-lib)?
<dir>: Matched gcc
<dir>: Recurse into /opt/gnat/lib/gcc/i686-pc-linux-gnu
<dir>: Check directories in /opt/gnat/lib/gcc/i686-pc-linux-gnu/
that match 4.1.3
<dir>: Matched 4.1.3
<dir>: Recurse into /opt/gnat/lib/gcc/i686-pc-linux-gnu/4.1.3/adalib
<dir>: SAVE /opt/gnat/lib/gcc/i686-pc-linux-gnu/4.1.3/adalib/
Done search directories
runtimes: search directories matching
\.\./lib/gcc(-lib)?/i686-pc-linux-gnu/4.1.3/rts-(.*)/adalib/, starting
from /opt/gnat/bin/
<dir>: Recurse into /opt/gnat/bin/..
<dir>: Recurse into /opt/gnat/lib
<dir>: Check directories in /opt/gnat/lib/ that match gcc(-lib)?
<dir>: Matched gcc
<dir>: Recurse into /opt/gnat/lib/gcc/i686-pc-linux-gnu
<dir>: Check directories in /opt/gnat/lib/gcc/i686-pc-linux-gnu/
that match 4.1.3
<dir>: Matched 4.1.3
<dir>: Check directories in
/opt/gnat/lib/gcc/i686-pc-linux-gnu/4.1.3/ that match rts-(.*)
<dir>: Matched rts-marte
<dir>: Found matched group: marte
<dir>: Recurse into
/opt/gnat/lib/gcc/i686-pc-linux-gnu/4.1.3/rts-marte/adalib
<dir>: SAVE
/opt/gnat/lib/gcc/i686-pc-linux-gnu/4.1.3/rts-marte/adalib/
<dir>: Matched rts-sjlj
<dir>: Found matched group: sjlj
<dir>: Recurse into
/opt/gnat/lib/gcc/i686-pc-linux-gnu/4.1.3/rts-sjlj/adalib
<dir>: SAVE /opt/gnat/lib/gcc/i686-pc-linux-gnu/4.1.3/rts-sjlj/adalib/
<dir>: Matched rts-native
<dir>: Found matched group: native
<dir>: Recurse into
/opt/gnat/lib/gcc/i686-pc-linux-gnu/4.1.3/rts-native/adalib
<dir>: SAVE
/opt/gnat/lib/gcc/i686-pc-linux-gnu/4.1.3/rts-native/adalib/
Done search directories
Adding compiler to interactive menu
Ada,2008,default,/opt/gnat/bin/,GNAT selected=FALSE
Adding compiler to interactive menu
Ada,2008,marte,/opt/gnat/bin/,GNAT selected=FALSE
Adding compiler to interactive menu
Ada,2008,sjlj,/opt/gnat/bin/,GNAT selected=FALSE
Adding compiler to interactive menu
Ada,2008,native,/opt/gnat/bin/,GNAT selected=FALSE
GCC is candidate: filename=gcc
target: executing "gcc -dumpmachine" output=<use -v -v> no match
target: grep matched="i686-pc-linux-gnu"
version: executing "gcc --version" output=<use -v -v> no match
version: grep no match
Ignore compiler, since couldn't guess its version
GCC-28 is candidate: filename=gcc
target: executing "gcc -dumpmachine" output=<use -v -v> no match
target: grep matched="i686-pc-linux-gnu"
version: executing "gcc -v" output=<use -v -v> no match
version: grep matched="4.1.3"
Ignore compiler since external value "4.1.3" must match 2\.8\.
Ignore compiler, since couldn't guess its version
GCC-CYGMING is candidate: filename=gcc
target: executing "gcc -mno-cygwin -dumpmachine" output=<use -v -v>
no match
target: grep matched="i686-pc-linux-gnu"
version: executing "gcc --version" output=<use -v -v> no match
version: grep no match
Ignore compiler, since couldn't guess its version
GCC-MINGW32 is candidate: filename=gcc
target: executing "gcc -dumpmachine" output=<use -v -v> no match
target: grep matched="i686-pc-linux-gnu"
version: executing "gcc --version" output=<use -v -v> no match
version: grep no match
Ignore compiler, since couldn't guess its version
GCC-ASM is candidate: filename=gcc
target: executing "gcc -dumpmachine" output=<use -v -v> no match
target: grep matched="i686-pc-linux-gnu"
version: executing "gcc --version" output=<use -v -v> no match
version: grep matched="4.1.3"
languages: constant := Asm,Asm_Cpp,Asm2
Adding compiler to interactive menu
Asm,4.1.3,,/opt/gnat/bin/,GCC-ASM selected=FALSE
Adding compiler to interactive menu
Asm_Cpp,4.1.3,,/opt/gnat/bin/,GCC-ASM selected=FALSE
Adding compiler to interactive menu
Asm2,4.1.3,,/opt/gnat/bin/,GCC-ASM selected=FALSE
Foreach compiler in /opt/gtkada/bin regexp=TRUE extra_dir=FALSE
List of targets supported by a compiler:
i486-linux-gnu
i686-pc-linux-gnu (native target)
Filtering the list of compilers
--------------------------------------------------
gprconfig has found the following compilers on your PATH.
Only those matching the target and the selected compilers are displayed.
(A) GNAT for Ada in /opt/gnat/bin/ version 2008 (default runtime)
(B) GNAT for Ada in /opt/gnat/bin/ version 2008 (marte runtime)
(C) GNAT for Ada in /opt/gnat/bin/ version 2008 (native runtime)
(D) GNAT for Ada in /opt/gnat/bin/ version 2008 (sjlj runtime)
(E) GCC-ASM for Asm in /opt/gnat/bin/ version 4.1.3
(F) GCC-ASM for Asm2 in /opt/gnat/bin/ version 4.1.3
(G) GCC-ASM for Asm_Cpp in /opt/gnat/bin/ version 4.1.3
(H) GCC for C in /usr/bin/ version 4.3.2
(I) G++ for C++ in /usr/bin/ version 4.3.2
Select or unselect the following compiler (or "s" to save):
_______________________________________________
qtada-users mailing list
[email protected]
http://lists.qtada.com/mailman/listinfo/qtada-users_lists.qtada.com