[Mono-dev] monoburg and eglib
Paolo Molaro
lupus at ximian.com
Tue May 8 10:43:19 EDT 2007
On 05/04/07 Andreas Färber wrote:
> I'm wondering why monoburg uses a nonstandard way of building?
> Instead of declaring the usual automake variables noinst_PROGRAMS
> and ..._SOURCES it invokes $CC_FOR_BUILD to build monoburg
> $BUILD_EXEEXT. Is this to allow cross-compiling?
Yes.
> Unfortunately this way of building breaks on Mac OS X when using
> eglib because gcc is directly being passed eglib's .la file in place
> of the usual -lglib-2.0 flag.
>
> How should this be fixed?
When not cross-compiling you might want to set BUILD_GLIB_LIBS and
BUILD_GLIB_CFLAGS to GLIB_LIBS and GLIB_CFLAGS in configure.in.
When cross-compiling a different eglib would need to be compiled.
Another solution is to remove glib use from monoburg, the stuff used
is quite small (and a fixed-size hash table is good enough for this
tool, the rest is just a list imple, basically).
lupus
--
-----------------------------------------------------------------
lupus at debian.org debian/rules
lupus at ximian.com Monkeys do it better
More information about the Mono-devel-list
mailing list