[Mono-list] Gcc version

David Sheldon dave-monolist@earth.li
Mon, 17 Nov 2003 22:55:31 +0000


Is there a minimum version of gcc that mono is expected to compile on?
It appears to compile fine on my work machine with 

$ gcc --version
gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)

but on my home machine with 

$ gcc --version
2.95.4

I get the output below.

Is this related to the version? Should I expect it to work with gcc
2.95.4? 

David


gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../mono
-I../../libgc/include -
pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/glib-
2.0 -I/usr/lib/glib-2.0/include -DMONO_ASSEMBLIES=\"/usr/local/lib\"
-DMONO_CFG_
DIR=\"/usr/local/etc\" -DGC_LINUX_THREADS -DMONO_USE_EXC_TABLES
-D_GNU_SOURCE -D
_REENTRANT -fexceptions -D_FILE_OFFSET_BITS=64 -g -O2 -g -Wall -Wunused
-Wmissin
g-prototypes -Wmissing-declarations -Wstrict-prototypes
-Wmissing-prototypes -Wn
ested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align
-Wwrite-strings -c ica
ll.c -Wp,-MD,.deps/icall.TPlo  -fPIC -DPIC -o .libs/icall.lo
icall.c: In function `mono_double_ParseImpl':
icall.c:64: warning: `result' might be used uninitialized in this
function
icall.c: In function `ves_icall_System_Array_SetValueImpl':
icall.c:159: warning: `u64' might be used uninitialized in this function
icall.c:160: warning: `i64' might be used uninitialized in this function
icall.c:161: warning: `r64' might be used uninitialized in this function
icall.c: In function `ves_icall_MonoField_GetValueInternal':
icall.c:1111: warning: `vtable' might be used uninitialized in this
function
icall.c: In function
`ves_icall_System_Reflection_Assembly_InternalGetAssemblyNa
me':
icall.c:2993: parse error before `*'
icall.c:2994: `exc' undeclared (first use in this function)
icall.c:2994: (Each undeclared identifier is reported only once
icall.c:2994: for each function it appears in.)
make[4]: *** [icall.lo] Error 1
make[4]: Leaving directory
`/home/sheldon/files/mono-0.28.99.20031117/mono/metad
ata'



-- 
                I hope you don't screw like you type.
                          -- Kate, "Hackers"