Hi,
I have iMX8M Mini EVK with Android 9.0 running on it.
i am successfully able to use Android NDK and run and execute sample hello app on this iMX board.
Hi,
Is there anyone from team NXP or from this forum who can reply to my above question ?
I am still waiting for any reply from this forum.
1. I know how to build hello world app using Android NDK software but i want to cross-compile and build
basic hello_world.c file and execute it on my board without using Android NDK.
2. I am using iMX8M Mini EVK with pre-build Android 9.0 Image running on it.
3. For Linux system we need cross-tolchain such as arm-none-eabi-gcc by which we can cross compile
the C/C++ file and then we can copy it to any sd card or pen drive and then execute it on target board.
but how we can do same thing in Android OS ???
If I will use Android NDK then it creates a app which i don't want.. I simply want to cross-compile and execute my
single C /C++ file from android console.
Thanks,
Maneesh
I'm trying to find the best way to do this too. I _think_ the way is to create a cross-compiler toolchain via yocto. Then can build on ubuntu or something and scp the binary to the target to run. Also, can setup yocto to build and package the executable in an image file.
normally suggest customer to use eclipse IDE, if you use toolchain, maybe you can refer to the topic as below: