Skip to content

Cross Compilation #1

@softwarevikas

Description

@softwarevikas

I took the sample and modified the code using C++, I followed the steps for Android. I am still surprised that if the code is cross compiled for Android as a target platform how it can run on Ubuntu.

Also I am looking for a sample which has a complete project structure including multiple folders means how I am going to handle CMakeLists.txt and would there be more changes in toolchain.cmake or same will be good enough.

Also where I have to specify the compiler?

Does this sample is created for ARM Android target platform or non-arm android?

Also how we can test this produced executable on Android Phone using some emulator or some other way?

Thanks
--Vikas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions