[Mono-list] Relocatable mono

GlenThompson gthompson at LIZARDTECH.COM
Thu Jun 3 19:41:35 EDT 2010


I'm a mono nubie so sorry if this is the wrong place to post.  I'm trying to
build mono on one box and run it on another box "from a different
directory".  There are hard coded paths in many of the script files in bin/

ie,
$ cat gmcs
#!/bin/sh
exec /src/third-party/Novell/Mono/2.6.4/linux/x86/bin/
mono $MONO_OPTIONS /src/third-party/Novell/Mono/2.6.4/
linux/x86/lib/mono/2.0/gmcs.exe "$@"

Is there a way to do this within the mono build system?
I would like to use something like "MONO_ROOT" perhaps. 

configure --prefix does not seem to allow/support anything like that.

Or maybe there is a way to configure where everthing is relative to each
other?

Or do I need to modify all of the built files and replace the hard coded
with with the "installed" location?

Thanks for any tips/info.
Glen
-- 
View this message in context: http://mono.1490590.n4.nabble.com/Relocatable-mono-tp2242501p2242501.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list