Search code examples
opensslarmcross-compiling

cross compiling of openssl for linux arm-v5te-linux-gnueabi toolchain


cross compiling of openssl for linux arm-v5te-linux-gnueabi toolchain. I have the version openssl-0.9.8r I tried

./Configure --prefix=/usr --openssldir=/usr/sbin threads zlib shared no-asm linux-armv4

export CROSS_COMPILE=arm-v5te-linux-gnueabi-

but no avail.

Im in much need of the basic steps to follow to crosscompile it to the openssl binary. I've already tried multiple suggestions across the links, hence in dire need to open a new question.

Please help


Solution

  • This one works:

    ./Configure linux-generic32 shared  -DL_ENDIAN --prefix=/home --openssldir=/home
    make CC=arm-v4t-linux-gnueabi-gcc RANLIB=arm-v4t-linux-gnueabi-ranlib LD=arm-v4t-linux-gnueabi-ld MAKEDEPPROG=arm-v4t-linux-gnueabi-gcc PROCESSOR=ARM