Question

I would like to build PolarSSL using

./configure --host=i686-w64-mingw32

but there is no configure script. I have read about creating one using Autoconf, but I did not have luck with it. To clarify, --host has been working for me because it sets everything for you, e.g.

i686-w64-mingw32-gcc
i686-w64-mingw32-cc
i686-w64-mingw32-ar
i686-w64-mingw32-ranlib

without having to explicitly set all of these.

Was it helpful?

Solution

Looking at the PolarSSL tarball, it seems you are out of luck. PolarSSL's build system is CMake, and it would take much more effort to convert that to an Autotools build system than it would be to just explicitly set your cross-compiling tools. Here is information on cross-compiling from the CMake wiki.

PS. If you ever do use Autoconf, that page you linked to is out of date.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top