This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git
The following commit(s) were added to refs/heads/master by this push:
new 11d6551 Add some build help.
11d6551 is described below
commit 11d6551e0606362943108faae2155431ce557281
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Jun 13 10:40:01 2020 -0400
Add some build help.
---
BUILDING.txt | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/BUILDING.txt b/BUILDING.txt
index 8dee6ce..da72167 100644
--- a/BUILDING.txt
+++ b/BUILDING.txt
@@ -10,12 +10,23 @@ Requirements:
* export JAVA_HOME
* Maven 3.0 or above
* Make
-* OpenSSL devel 1.0.1c or above (Openssl library header files are required)
+* OpenSSL devel 1.1.1 or above (OpenSSL library header files are required)
* GCC
* G++
-For win64 on Ubuntu; apt install x86_64-w64-mingw32-gcc
-For win32 on Ubuntu: apt install gcc-mingw-w64-i686
+Profile win64 on Ubuntu 64-bit:
+apt-get install mingw-w64
+
+apt install x86_64-w64-mingw32-gcc
+
+Profile win32 on Ubuntu 64-bit:
+apt install gcc-mingw-w64-i686
+
+Profile linux32 on Ubuntu 64-bit:
+dpkg --add-architecture i386
+apt-get update
+apt-get install libssl-dev:i386
+sudo apt-get install g++-multilib
----------------------------------------------------------------------------------
Install JCE Unlimited Strength Jurisdiction Policy Files:
@@ -48,6 +59,8 @@ Upgrade OpenSSL in Mac:
Get OpenSSL headers: sudo apt -y install libssl-dev
+Cross compile to 32-bit from Linux 64-bit: sudo apt-get install gcc-multilib
+
----------------------------------------------------------------------------------
Maven build goals: