[Mono-list] Creating a minimal runtime
Paolo Molaro
lupus@ximian.com
Fri, 19 Jul 2002 22:08:08 +0200
On 07/19/02 Guenther Roith wrote:
> > So the next question is: why is the default library
> > search path "../lib"? Seems a strange choice.
>
> The path to the mono assemblys is hardcoded to ../lib
> Thats because a unix system has a directory tree like this:
>
> /bin
> /usr
> /etc
> /lib
[...]
> For comaptiblity it makes sense to keep that. If you however want to change
> edit /mono/mono/os/win32/util.c
> and change the value and then recompile.
The need to use ../lib is a broken solution and there is no need to
recompile mono: just set the MONO_PATH env var to the directory that
contains the assemblies (a windows programmer could also provide a patch
to use a value from the registry for the same purpouse).
lupus
--
-----------------------------------------------------------------
lupus@debian.org debian/rules
lupus@ximian.com Monkeys do it better