Re2: [GCC-XML] out of box install (winXP)

Brad King brad.king at kitware.com
Tue May 31 08:32:20 EDT 2005


Felix Ogg wrote:
> It is not clear from the documentation what to put into GCCXML_FLAGS for 
> doing so. Your help would be greatly appreciated. Anyone?
> 
> I understand that the reasoning must have been: if you have more than 
> one compiler installed on your system, the easiest way to determine 
> which compiler library headers to include, is to use the name of the 
> compiler as an argument to GCCXML. However, in the case where no 
> compiler is installed on the system, this won't fly.
> 
>  It would be better to manually point GCCXML to a path from which it 
> will include system headers, if available. The choice of vendor-specific 
> simulation behaviour should be separated from that.

Running without an installed compiler was never a design goal.  You can 
put -I and -D flags in GCCXML_FLAGS to point it at the system headers 
you want to use and add any pre-defined macros you choose.  Just run 
gccxml on the machine with the compiler where it works and add the 
option "--print" to see an example of GCCXML_FLAGS.

-Brad



More information about the gccxml mailing list