Cross compiled lib for LS1028ARDB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cross compiled lib for LS1028ARDB

776 Views
sameer_chouksey
Contributor II

Hello,

I am trying to put a cross complied LLDP binary into the board. I have cross compiled it following the steps below.

$ export PATH=/home/user/gcc-linaro-4.9-2016.02-x86_64_aarch64-linux-gnu/bin:$PATH
$ export CROSS_COMPILE=aarch64-linux-gnu-

$ ./autogen.sh
$ ./configure --target=aarch64-linux-gnu CPPFLAGS=-Wno-error=unused-value
$ make

After following the above steps when I check the binary file this is what I see:

$file lldpd

lldpd: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, BuildID[sha1]=4ba8bb6ce2e0dffc427a6b43c12d735815cfcffe, with debug_info, not stripped

I believe this library is ready to be used in the LS1028ARDB board. 

The question is, how do I use this library? Shall I just copy this binary in a directory in the board and run it? Or do I need to do some configuration inside the board to run it??

Please help me understand this.

Thanks,

Sameer 

0 Kudos
1 Reply