Cross Compile helloworld for ARM

后端 未结 1 1551
萌比男神i
萌比男神i 2020-12-08 23:11

I\'m trying a simple cross compile (cc) for an ARM-CORTEX-A9: To keep things simple thats the c-code:

#include 
int main()
{
   printf(\"Hello         


        
1条回答
  •  独厮守ぢ
    2020-12-08 23:19

    Ther was a missing link in the lib folder Linaro Ubuntu. It showed up with readelf -a

    [Requesting program interpreter: /lib/ld-linux.so.3]
    

    Putting the link lib/ld-linux.so.3 to lib/arm-linux-gnueabihf/ld-2.15.so

    and it works.

    Thanks for the help Sergey

    0 讨论(0)
提交回复
热议问题