On 2007.03.11 at 18:10:01 +0100, Steven Beeckman wrote:

>    Hi,
> 
>    I'm trying to get the openssl command-line tool built as a statically
>    linked executable (for an ARM simulator), but it appears to be
>    non-trivial. Running "./Configure no-shared linux-generic32" or even
>    "./config no-shared" doesn't seem to help. Compiling works, but it results
>    in a dynamically linked executable. The Makefile in the apps-directory is
>    way too complex for me to figure out the exact gcc-command.

Really, no-shared means that OpenSSL libraries would be compiled
statically. If you want to compile statically EVERYTHING, then you have
to add -static to the LDFLAGS

You don't need to completely understand makefiles to do so.
Just execute command

make LDFLAGS=-static
instead of just make

(I've tested this solution for Linux native compilation only, but it
should work for cross-compilation too)
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to