[ 
https://issues.apache.org/jira/browse/CB-6728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14009463#comment-14009463
 ] 

Vladimir Kotikov commented on CB-6728:
--------------------------------------

For android we don't support NDK and build architectures.
Now iOS projects uses ARCHS="armv7 armv7s arm64" architectures by default and 
-arch i386 when buids for emulator. We have following alternatives for 
architecture support:
# Use same flags for iOS with some differences:
#* -arm builds using ARCHS="armv7 armv7s arm64" and used by default.
#* -x86 equal to -i386 and used as alias to -emulator
#* -x64 doesn't supported for iOS
    Introduce platform-specific flags. For iOS: -armv6, -armv7, -arm64, 
# Use -archs string parameter to build command instead of one flag for each 
architecture. E.g.:
{noformat}
        cordova build wp8 -archs="x86 arm"
        cordova build ios -archs="armv7 arm64"
{noformat}

> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---------------------------------------------------------------------------------------
>
>                 Key: CB-6728
>                 URL: https://issues.apache.org/jira/browse/CB-6728
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: CLI, Windows 8, WP8
>    Affects Versions: 3.4.0
>            Reporter: Vladimir Kotikov
>            Assignee: Jesse MacFadyen
>              Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> As an example is WebSQL plugin which contains references to C++ libs so needs 
> to be built for specific architecture (x84, x64, ARM) and which does not 
> support AnyCPU target.
> So it looks important to add support for additional build flags `-x64`, 
> `-x86`, `-arm`, '-any' to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If flag is not specified, `AnuCPU` target platform should be used by default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to