Hi Hassan

On 31.03.23 at 06:34, MOHAMMED HASSAN wrote:
Hi guys,
I am new to yocto needed your help.
I have an executable binary file that is probably compiled using the gcc compiler. I am using yocto dunfell for my project my build_sys is "x86_64-linux" , my target_sys isĀ "aarch64-poky-linux".

Can you please guide me as to what I need to load this binary executable file is my generated image file.


Is this binary statically linked? Otherwise, you have no guarantee that it will run on your root filesystem.

If so, you could write a recipe to integrate the binary into your root filesystem, as it's possible to do with pre-compiled libraries : https://docs.yoctoproject.org/dev-manual/common-tasks.html#working-with-pre-built-libraries. Caution, in this document, the new override syntax (with ":" instead of "_") is shown, it doesn't apply to Dunfell.

I hope this helps
Cheers
Michael.

--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59559): https://lists.yoctoproject.org/g/yocto/message/59559
Mute This Topic: https://lists.yoctoproject.org/mt/97967124/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to