[GCC-XML]Substituing gccxml to gcc

Sébastien Pierre sebastien.pierre at adival.com
Wed Mar 31 03:30:42 EST 2004


Hello Brad,

Thanks for your quick answer !

Brad King wrote:

>
> Yes, this should work fine, and you should not have to add any -I 
> options.  What is the output of the command line you tried, but with 
> the "--print" option added?

Here it is :

gccxml -fxml=pouet.xml example1.c --print      (1006)
GCC-XML version 0.6.0
Configuration settings:
  GCCXML_CONFIG="/usr/local/share/gccxml-0.6/gccxml_config"
  GCCXML_COMPILER="c++"
  GCCXML_CXXFLAGS=""
  GCCXML_EXECUTABLE="/usr/local/bin/gccxml_cc1plus"
  GCCXML_CPP="/usr/local/bin/gccxml_cc1plus"
  GCCXML_FLAGS="-D__DBL_MIN_EXP__=(-1021) -D__FLT_MIN__=1.17549435e-38F 
-D__CHAR _BIT__=8 -D__WCHAR_MAX__=2147483647 
-D__DBL_DENORM_MIN__=4.9406564584124654e-324  -D__FLT_EVAL_METHOD__=2 
-D__unix__=1 -Dunix=1 -D__i386__=1 -D__SIZE_TYPE__=unsi gned int 
-D__ELF__=1 -D__DBL_MIN_10_EXP__=(-307) -D__FINITE_MATH_ONLY__=0 -D__GN 
UC_PATCHLEVEL__=2 -D__FLT_RADIX__=2 
-D__LDBL_EPSILON__=1.08420217248550443401e-1 9L -D__SHRT_MAX__=32767 
-D__LDBL_MAX__=1.18973149535723176502e+4932L -D__linux=1  -D__unix=1 
-D__LDBL_MAX_EXP__=16384 -D__LONG_MAX__=2147483647L -D__linux__=1 -D 
__SCHAR_MAX__=127 -D__DBL_DIG__=15 -D__USER_LABEL_PREFIX__= -Dlinux=1 
-D__STDC_H OSTED__=1 -D__EXCEPTIONS=1 -D__LDBL_MANT_DIG__=64 
-D__FLT_EPSILON__=1.19209290e- 7F -D__GXX_WEAK__=1 
-D__LDBL_MIN__=3.36210314311209350626e-4932L -D__WCHAR_TYPE_ _=long int 
-D__FLT_DIG__=6 -D__FLT_MAX_10_EXP__=38 -D__INT_MAX__=2147483647 -D__ 
gnu_linux__=1 -D__FLT_MAX_EXP__=128 -D__DECIMAL_DIG__=21 
-D__DBL_MANT_DIG__=53 - D__WINT_TYPE__=unsigned int -D__GNUC__=3 
-D__LDBL_MIN_EXP__=(-16381) -D__LDBL_MA X_10_EXP__=4932 
-D__DBL_EPSILON__=2.2204460492503131e-16 -D__DBL_MAX__=1.7976931 
348623157e+308 -D__cplusplus=1 -D__DEPRECATED=1 -D__DBL_MAX_EXP__=1024 
-D__FLT_D ENORM_MIN__=1.40129846e-45F -D__GNUG__=3 
-D__LONG_LONG_MAX__=9223372036854775807 LL -D__FLT_MAX__=3.40282347e+38F 
-D__GXX_ABI_VERSION=102 -D__FLT_MIN_10_EXP__=(- 37) 
-D__FLT_MIN_EXP__=(-125) -Di386=1 -D__GNUC_MINOR__=3 
-D__DBL_MAX_10_EXP__=30 8 
-D__LDBL_DENORM_MIN__=3.64519953188247460253e-4951L 
-D__DBL_MIN__=2.2250738585 072014e-308 -D__PTRDIFF_TYPE__=int 
-D__tune_i386__=1 -D__LDBL_MIN_10_EXP__=(-493 1) -D__REGISTER_PREFIX__= 
-D__LDBL_DIG__=18 -D__NO_INLINE__=1 -D_GNU_SOURCE=1 -D __i386=1 
-D__FLT_MANT_DIG__=24 -D__VERSION__="3.3.2 20040119 (Red Hat Linux 3.3. 
2-8)" -D__declspec(x)= -D__attribute__(x)= -include 
/usr/local/share/gccxml-0.6/ GCC/3.3/gccxml_builtins.h "
  GCCXML_USER_FLAGS=""
  GCCXML_ROOT="/usr/local/share/gccxml-0.6"

Cheers,

 -- Sébastien




More information about the gccxml mailing list