2
0
mirror of synced 2025-02-23 14:58:12 +00:00

cmd/gomobile: mention how to specify target arch for bind

Change-Id: I7c2dd984e810165dc126ae1f65d72d8bba804e04
Reviewed-on: https://go-review.googlesource.com/24072
Reviewed-by: David Crawshaw <crawshaw@golang.org>
This commit is contained in:
Hana Kim 2016-06-14 10:43:25 -04:00 committed by Hyang-Ah Hana Kim
parent 40167cfb81
commit 1decf4c941
2 changed files with 10 additions and 0 deletions

View File

@ -50,6 +50,11 @@ library for Android. The environment variable ANDROID_HOME must be set
to the path to Android SDK. The generated Java class is in the java to the path to Android SDK. The generated Java class is in the java
package 'go.<package_name>' unless -javapkg flag is specified. package 'go.<package_name>' unless -javapkg flag is specified.
By default, -target=android builds shared libraries for all supported
instruction sets (arm, arm64, 386, amd64). A subset of instruction sets
can be selected by specifying target type with the architecture name. E.g.,
-target=android/arm,android/386.
For -target ios, gomobile must be run on an OS X machine with Xcode For -target ios, gomobile must be run on an OS X machine with Xcode
installed. Support is not complete. The generated Objective-C types installed. Support is not complete. The generated Objective-C types
are prefixed with 'Go' unless the -prefix flag is provided. are prefixed with 'Go' unless the -prefix flag is provided.

View File

@ -57,6 +57,11 @@ library for Android. The environment variable ANDROID_HOME must be set
to the path to Android SDK. The generated Java class is in the java to the path to Android SDK. The generated Java class is in the java
package 'go.<package_name>' unless -javapkg flag is specified. package 'go.<package_name>' unless -javapkg flag is specified.
By default, -target=android builds shared libraries for all supported
instruction sets (arm, arm64, 386, amd64). A subset of instruction sets
can be selected by specifying target type with the architecture name. E.g.,
-target=android/arm,android/386.
For -target ios, gomobile must be run on an OS X machine with Xcode For -target ios, gomobile must be run on an OS X machine with Xcode
installed. Support is not complete. The generated Objective-C types installed. Support is not complete. The generated Objective-C types
are prefixed with 'Go' unless the -prefix flag is provided. are prefixed with 'Go' unless the -prefix flag is provided.