Hello,

We are facing issue in cross compiling ARM with many .c files incl in srsRAN.


For cross compilation we have installed the gcc-arm-linux-gnueabi, 
binutils-arm-linux-gnueabi with help of that was able to compile single file 
code like hello.c in below way:
$arm-linux-gnueabi-gcc hello.c -o hello-arm -static

But for srsRAN we can’t use the same approach since the code has many .c files 
(GitHub - srsran/srsRAN: Open source SDR 4G/5G software suite from Software 
Radio Systems (SRS)<https://github.com/srsran/srsRAN>).
Kindly suggest how can we do cross compilation of srsRAN for ARM.

Below listed the build steps of srsRAN for x86:
$ sudo apt-get install libzmq3-dev
$ sudo apt-get install libtool
$ sudo apt-get install libtool autoconf automake pkg-config
$  sudo apt-get install git
$ git clone https://github.com/zeromq/libzmq.git
$ ls
$ cd libzmq
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install
$ sudo ldconfig
$ cd ..
$ ls
$ git clone https://github.com/zeromq/czmq.git
$ ls
$ cd czmq
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install
$ sudo ldconfig
$ sudo  apt-get install cmake libfftw3-dev libmbedtls-dev 
libboost-program-options-dev libconfig++-dev libsctp-dev
$ cd ..
$ ls
$ git clone https://github.com/srsLTE/srsLTE.git
$ ls
$ cd srsLTE
$ mkdir build
$ ls
$ cd build
$ cmake ../
$ make

Thanks,

Uma

_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to