[Mono-list] compiling mini with gcc 2.95.3

Chris Ferrell csferrel@swbell.net
Thu, 05 Jun 2003 11:40:15 -0500


I'm curious if anybody has been able to successfully compile mini with gcc 2.95.3?  It appears that version of the compiler has a problem with the big array in cpu-pentium.h #included into x86-mini.c.  It ends up giving some strange nonsensical error about the header file on line 3(look at my previous post regarding mini compile problems for the exact error).

Unfortunately, upgrading a compiler on most systems is a major pain because of the ABI issues.  I've done a workaround where I turn the cpu-pentium.h file into a .c file, add it to makefile.am where x86-mini.c is, and then put an extern reference in x86-mini.c

It would be great if a workaround could be put into standard mini, but if not, I guess i'll be manually doing a workaround when doing a cvs update.