diff options
author | Miguel de Icaza <miguel@gnome.org> | 2016-10-24 19:47:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-24 19:47:31 +0300 |
commit | 1fb083d2d4fa63b41b1c97bb61cd5782a62c910b (patch) | |
tree | 3a38385b7497d33a1cfacb9c45d4c9eeb5932453 /man/mkbundle.1 | |
parent | 932ae6cca229b4156728a16cb07f3266ef1a8f99 (diff) |
Make mkbundle use SDKs instead of a single runtime for cross compilation
Make mkbundle use SDKs instead of a single runtime for cross compilation
Diffstat (limited to 'man/mkbundle.1')
-rw-r--r-- | man/mkbundle.1 | 41 |
1 files changed, 35 insertions, 6 deletions
diff --git a/man/mkbundle.1 b/man/mkbundle.1 index 305cfcc7f72..3d067eb27ef 100644 --- a/man/mkbundle.1 +++ b/man/mkbundle.1 @@ -24,7 +24,8 @@ dependencies referenced, use the "--deps" command line option. There are two modes of operation, one uses an existing Mono binary or a server-hosted list of binaries and is enabled when you use either the -.B --cross +.B --cross, +.B --sdk or the .B --runtime command line options. @@ -119,10 +120,19 @@ are using (1.0 or 2.0) When passed, DIR will be set for the MONO_CFG_DIR environment variable .TP .I "--cross target" -Creates a bundle for the specified target platform. The target -must be a directory in ~/.mono/targets/ that contains a "mono" -binary. You can fetch various targets using the --fetch-target -command line option. +Use this to request mkbundle generate a cross-compiled binary. It +Creates a bundle for the specified target platform. The target must +be a directory in ~/.mono/targets/ that contains an SDK installation +as produced by the mono-package-runtime tool. You can get a list of +the precompiled versions of the runtime using --list-targets and you +can fetch a specific target using the --fetch-target command line +option. +.Sp +This flag is mutually exclusive with +.I --sdk +which is used to specify an absolute path to resolve the Mono runtime +from and the --runtime option which is used to manually construct the +cross-platform package. .TP .I "--deps" This option will bundle all of the referenced assemblies for the @@ -203,7 +213,26 @@ executed. Additionally, users of your binary can still configure their own options by setting the .I MONO_ENV_OPTIONS -environment variable. +environment variable. +.TP +.I "--sdk SDK_PATH" +Use this flag to specify a path from which mkbundle will resolve the +Mono SDK from. The SDK path should be the prefix path that you used +to configure a Mono installation. And would typically contain files +lik +.I SDK_PATH/bin/mono +, +.I SDK_PATH/lib/mono/4.5 +and so on. +.Sp +When this flag is specified, +.I mkbundle +will resolve the runtime, the framework libraries, unmanaged resources +and configuration files from the files located in this directory. +.Sp +This flag is mutually exlusive with +.I --cross +. .TP .I "--target-server SERVER" By default the mkbundle tool will download from a Mono server the |