Login | Register

Documentation

Documentation -> Tutorials -> Cross-compiling OpenSIPS

This page has been visited 975 times.

This page contains different information about how you can cross-compile OpenSIPS on different architectures.

Table of Content (hide)

  1. 1. ARMv7

1.  ARMv7

Documented by Micael on mailing list. The compiler used was gcc 10.

The following steps need to be taken before compiling.

  1. Remove the section in Makefile.defs that tries to detect the arm compiler version, since it is outdated. This could of course be fixed to also include newer GCC versions in the test.
  2. Add -marm to CC options to disable ARM thumb mode.
  3. Edit modules/tls_wolfssl/Makfile and --host=arm

Compile line is:

CC_EXTRA_OPTS="-march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -marm" make all

Page last modified on January 12, 2022, at 01:25 PM