[GCC-XML] Fwd: non-default compiler

Brad King brad.king at kitware.com
Wed Jan 9 09:20:28 EST 2008


Matthew O'Meara wrote:
> gccxml -Ipath1-to-project -Ipath-k-to-project --gccxml-compiler=gcc
> --gccxml-root=/net/COMPILERS/gcc- 3.4.4/lib
> --gccxml-executable=/net/COMPILERS/gcc-3.4.4/bin/gcc -fxml=output-file.xml
> 
> First have I set these variables in a coherent way?
> Will run any differently from what I am currently doing?  
> Are there any other variables I should be using?

You should not need to set gccxml-executable or gccxml-root.  Just do this:

gccxml -Ipath1-to-project -Ipath-k-to-project \
  --gccxml-compiler /net/COMPILERS/gcc-3.4.4/bin/gcc \
  input-file.cxx -fxml=output-file.xml

-Brad




More information about the gccxml mailing list