How can I cross-compile openssl for arm-none-eabi-gcc

667 Views Asked by At

I want to use the SM2 algorithm from OpenSSL on my stm32 develop board,

when I searched a method for that, I found all solutions is to compile OpenSSL by arm-none-linux-gnueabi, so I did it as described.

After getting a libcrypt.so, I want to use arm-none-eabi-ld to link the library, but errors about system happened, it seems that I can't use it with arm-none-eabi-gcc.

So, what can I do for it?

0

There are 0 best solutions below