[Mono-devel-list] mini/Makefile.am patch for non JIT platforms
Bernie Solomon
bernard at ugsolutions.com
Wed Jul 2 18:44:05 EDT 2003
I remembered why I made the change wrongly.... (I fell over the problem I
mentioned some time ago and that was what I remembered). I was actually
getting dependency problems because make was looking the wrong directory for
genmdesc so I thought I'd just not build it at all as I know I didn't
currently need it.
Having done some investigation it appears that the way I was configuring
with builddir != srcdir is the issue. It works all in the same directory. I
was trying to have builddir != srcdir so I can have multiple builds on a NFS
mounted disk with a shared source directory. One problem was I had a really
old gmake (3.63) which didn't interpret VPATH in quite the correct way. But
updating to 3.80 causes other problems again with VPATH with different
things failing and going to the wrong directories. I haven't work out what
yet.
So this change is unnecessary - when (and if) I work out how to get the
builds to work with separate build directories I'll suggest other changes.
Bernie Solomon
----- Original Message -----
From: "Paolo Molaro" <lupus at ximian.com>
To: <mono-devel-list at lists.ximian.com>
Sent: Wednesday, July 02, 2003 10:53 AM
Subject: Re: [Mono-devel-list] mini/Makefile.am patch for non JIT platforms
> On 07/02/03 Bernie Solomon wrote:
> > If building on a machine where JIT isn't supported the Makefile in mini
tried to do something it shouldn't and hung trying to read from stdin. Here
is a small patch to stop anything being built on such platforms.
>
> cvs has already a fix for it (included here). Does it not work for you?
>
> Index: Makefile.am
> ===================================================================
> RCS file: /cvs/public/mono/mono/mini/Makefile.am,v
> retrieving revision 1.25
> retrieving revision 1.26
> diff -u -p -r1.25 -r1.26
> --- Makefile.am 18 Jun 2003 14:18:56 -0000 1.25
> +++ Makefile.am 1 Jul 2003 14:06:03 -0000 1.26
> @@ -100,15 +100,17 @@ if X86
> libmono_la_SOURCES = \
> $(common_sources) $(x86_sources)
>
> -BURGSRC= $(common_BURGSRC) $(srcdir)/inssel-x86.brg
> +arch_BURGSRC= $(srcdir)/inssel-x86.brg
> endif
>
> if POWERPC
> libmono_la_SOURCES = \
> $(common_sources) $(ppc_sources)
>
> -BURGSRC= $(common_BURGSRC) $(srcdir)/inssel-ppc.brg
> +arch_BURGSRC= $(srcdir)/inssel-ppc.brg
> endif
> +
> +BURGSRC= $(common_BURGSRC) $(arch_BURGSRC)
>
> libmonoincludedir = $(includedir)/mono/jit
>
>
> lupus
>
> --
> -----------------------------------------------------------------
> lupus at debian.org debian/rules
> lupus at ximian.com Monkeys do it better
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
More information about the Mono-devel-list
mailing list