wolfSSL / wolfssl

The wolfSSL library is a small, fast, portable implementation of TLS/SSL for embedded devices to the cloud. wolfSSL supports up to TLS 1.3 and DTLS 1.3!
https://www.wolfssl.com
GNU General Public License v2.0
2.33k stars 825 forks source link

How to make .a file ? #1807

Closed Vaibhav1587 closed 6 years ago

Vaibhav1587 commented 6 years ago

I wanted to know, how to make .a lib for wolfssl only. I tried as per my knowledge but, getting .la file.

Please guide me how do i generate .a file use it in my own project (linux based). So that I can use it with windows machine for wolfssh implementation for STM32.

ejohnstown commented 6 years ago

If you are using "configure" to set up your build, you need to add "--disable-shared". This option will force the build of the static library and disable the dynamic library. It will produce the library archive file.

ejohnstown commented 6 years ago

One question. Are you using gcc for arm on your Windows machine when building wolfSSH? Have you tried building wolfSSH on your Linux box with the gcc for arm cross compiler?

ejohnstown commented 6 years ago

Which toolchain/IDE are you using?

Vaibhav1587 commented 6 years ago

I'm using Atollic TrueSTUDIO IDE.

ejohnstown commented 6 years ago

It sounds like you got it building over in that wolfSSH Issue. I'm going to close this one.