[Mono-list] Re: monoburg

Horst G. Reiterer horst@reiterer.net
Fri, 27 Jun 2003 20:50:19 +0200


Neale,

From: "Ferguson, Neale" <Neale.Ferguson@SoftwareAG-USA.com>
To: "Monolist (E-mail)" <mono-list@ximian.com>
Sent: Friday, June 27, 2003 7:05 PM
Subject: [Mono-list] Re: monoburg


> Thus, when the Makefile is built the value for $BURGSRC will be empty for
> S390 and the invokation of monoburg will try and read the brg specs from
> stdin. My question is: do I just set BURGSRC to $(common_BURGSRC) or do I
> avoid the entire JIT process (and if so, how)?

I ran into the same problem when compiling the sources from CVS on an S/390
and addressed it by modifying 'ROOT/mono/mono/Makefile.am', the automake
input file, so that the mini directory is skipped on platforms not supported
by Mini which IMHO is the cleanest solution. The resulting file is as
follows:

<quote>
# only add jit-specific directories if needed
if JIT_SUPPORTED
    jitdirs = mini
else
    jitdirs =
endif

# the handles dir doesn't apply to windows
if PLATFORM_WIN32
SUBDIRS = utils io-layer monoburg os metadata cil dis \
 arch monograph interpreter ${jitdirs} tests benchmark
else
SUBDIRS = utils io-layer monoburg os metadata cil dis \
 arch monograph interpreter ${jitdirs} tests benchmark handles
endif
</quote>

Please modify the respective file accordingly and rebuild, 'make' should
automatically invoke automake and regenerate the makefile for you.

Hope this helps!

Cheers,

    Horst