Documentation

Documentation.Tutorials-CrossCompile History

Hide minor edits - Show changes to output

January 12, 2022, at 01:25 PM by razvancrainea -
Added lines 1-24:
!!!!! Documentation -> [[Documentation.Tutorials | Tutorials ]] -> Cross-compiling OpenSIPS
This page has been visited {$PageCount} times.

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

(:toc-float Table of Content:)
----

! ARMv7

[-Documented by Micael on [[http://lists.opensips.org/pipermail/users/2022-January/045533.html|mailing list]]. The compiler used was gcc 10.-]

The following steps need to be taken before compiling.

# 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.

# Add @@-marm@@ to CC options to disable ARM thumb mode.

# 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