Cross compiling

Discussion in 'UDOO NEO' started by Simone, Dec 1, 2015.

  1. Simone

    Simone New Member

    Joined:
    Dec 1, 2015
    Messages:
    16
    Likes Received:
    0
    Hi,
    I'm new of Udoo Neo.
    I would know if there is a tutorial for cross compiling from Ubuntu Eclipse c++ to Udoo Neo board.
     
  2. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    Sorry, there's not. You need an ARM compiler like GNU EABI Armv7HF, like this one. And welcome to the community!
     
  3. Simone

    Simone New Member

    Joined:
    Dec 1, 2015
    Messages:
    16
    Likes Received:
    0
    thanks.
    I try with this ARM compiler.
     
  4. Simone

    Simone New Member

    Joined:
    Dec 1, 2015
    Messages:
    16
    Likes Received:
    0
    Ok, I installed and configured eclipse for cross compiling.
    when I try to run my app in target I receive this error:
    bash: ./UdooNeo_Test_1: No such file or directory

    if use file command on my app I receive this
    UdooNeo_Test_1: ELF 32-bit LSB executable, ARM, EABI5 version 1 (sysv) dynamically linked (use share libs), for GNU Linux 2.6.32...
     
  5. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    Dear Simone,
    try to execute

    Code:
    chmod +x ./UdooNeo_Test_1
    
     
  6. Simone

    Simone New Member

    Joined:
    Dec 1, 2015
    Messages:
    16
    Likes Received:
    0
    Hi,
    thanks,
    Yes me app is executable.
     

Share This Page