[Mono-devel-list] Mono Runtime: detecting the platform.

Miguel de Icaza miguel at novell.com
Tue May 25 15:03:39 EDT 2004


Hey guys,

   Today we use GCC defines to determine for which platform we are
building the engine.   This is a bit of a problem for instance if we try
to compile the x86 JIT engine on an AMD64 system, as the x86 defines are
not presented in the 64 bit world.

   The same thing happens with s390 vs s390x: we should probably have a
define that we set at configure time that patches the configuration we
are building for, and use that define as opposed to compiler defines to
track the platform.

Miguel.



More information about the Mono-devel-list mailing list