C++ Based OPC UA Client/Server/PubSub SDK
1.7.4.520
|
The following sections descibe how to cross compile OpenSSL for Linux on ARM.
You need a toolchain to cross compile for your target system.
As the libraries have to be compiled with the cross compiler, we need to set the path variable accordingly:
Download the most recent version of OpenSSL from http://www.openssl.org/source/ and unpack it:
We configure the makefiles with the following options. “linux-armv4” specifies our target platform, “–cross-compile-prefix=arm-angstrom-linux-gnueabi-” ensures that the compiler from our toolchain is found (arm-angstrom-linux-gnueabi-gcc), and “–prefix=<openssl-install-path>” sets the installation path of your choice. You can omit the option “shared” if you don’t need shared libraries. The rest disables algorithms that are patented or no longer regarded as secure.
Then we have to run
because we have disabled a few algorithms.
Now we are ready to build and install OpenSSL: