[GCC-XML] Could not determine GCCXML_FLAGS setting + gcc: error trying to exec 'cc1plus': execvp: No such file or directory ...

Albretch Mueller lbrtchx at gmail.com
Tue Sep 27 14:00:34 EDT 2011


~
 I just downloaded and installed GCC-XML for a trial test
~
 But these are the errors I am getting while trying to compile some
very simple C code
~
 How could I fix those problems?
~
 thanks
 lbrtchx
~
$ gccxml --gccxml-compiler gcc -fxml main04_name_time00.xml
/media/sda1/code/C/c_kd/main04_name_time00
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
Error executing
"/media/sda1/code/C/gcc/docs/gccxml.org/src/gccxml/share/gccxml-0.6/gccxml_find_flags
gcc "
Could not determine GCCXML_FLAGS setting.

$ export GCCXML_HOME=/media/sda1/code/C/gcc/docs/gccxml.org/src/gccxml

$ pwd
/media/sda1/code/C/gcc/docs/gccxml.org/src

$ export PATH=$GCCXML_HOME/bin:$PATH

$ which gccxml
/media/sda1/code/C/gcc/docs/gccxml.org/src/gccxml/bin/gccxml

$ gccxml --version
GCC-XML version 0.6.0

$ gccxml --help
Usage:

gccxml [options] <input-file> -fxml=<output-file>
...
Advanced users can simulate other compilers by manually configuring the
GCCXML_FLAGS setting.  Contact the mailing list for help.

$ dpkg -l | grep cpp
ii  cpp                                    4:4.3.4-1
       The GNU C preprocessor (cpp)
ii  cpp-4.3                                4.3.4-6
       The GNU C preprocessor

$ dpkg -l | grep gnu
ii  gnupg                                  1.4.10-2
       GNU privacy guard - a free PGP replacement
ii  gnupg-curl                             1.4.10-2
       GNU privacy guard - a free PGP replacement (
ii  libcurl3-gnutls                        7.19.7-1
       Multi-protocol file transfer library (GnuTLS
ii  libgnutls26                            2.8.5-2
       the GNU TLS library - runtime library
ii  libneon27-gnutls                       0.29.0-1
       An HTTP and WebDAV client library (GnuTLS en

$ gcc --version
gcc (Debian 4.3.4-6) 4.3.4
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



More information about the gccxml mailing list