[Mono-osx] OS X builds and -DUSE-MUNMAP
Andreas Färber
andreas.faerber at web.de
Thu Nov 23 09:07:56 EST 2006
Hi,
Am 22.11.2006 um 23:37 schrieb Allan Hsu:
> Does anybody have a problem with using -DUSE_MUNMAP in the CPPFLAGS
> setting in configure.in under OS X? I talked to Paolo about it at the
> developer's meeting last month and he had said that the only reason
> it wasn't turned on was because nobody had verified that it worked.
> We (imeem) have been shipping builds of Mono with this turned on for
> a few months now, so as far as I know, it does work.
I don't really have an opinion on this issue, not knowing what that
flag changes. Maybe if you tell us you'll get some more replies. :-)
But talking of changes for OS X, I have some suggestions, too:
- add a symlink Mono.framework/Versions/1.2.1/Mono in addition to
Mono.framework/Mono
(this is what other frameworks are linked to, according to otool -L)
- move glibconfig[.(ppc|x86)].h from Libraries/glib-2.0/include to
Headers/glib-2.0
(reduces the number of include paths that need to be manually added
in order to compile)
- consider only having one version "A" (like many Apple frameworks)
instead of the actual Mono versions (1.2.1 etc.)
(the need to install both in parallel inside the framework should be
rather rare and this would avoid the need for an install_name_tool
invocation for each native executable and library linked to Mono;
otherwise it doesn't work as soon as the installed Mono version differs)
Andreas
More information about the Mono-osx
mailing list