On Mon, Aug 20, 2012, Ken Goldman wrote:

> I'm trying to compile openssl for:
> 
> Linux, 32-bit on a 64-bit machine, shared libraries, and debug.
> 
> The closest I found was:
> 
> > ./Configure linux-elf -m32 -shared -g
> 
> but this still does -O3, and the optimizer doesn't work well with
> the source level debugger.
> 
> Any clues for changing -O3 to -O0?
> 
> ~~
> 
> Bonus meta-question:
> 
> When does one use ./Configure vs. ./config?  The documentation shows
> examples of both, but doesn't explain the difference.
> 

The config script mainly auto detects the system type and passes the results to
Configure which actually does the platform specific configuration. The -d
option to config tries to use a debug build and actually prepend "debug-" to
the platform.

So try debug-linux-elf -m32 shared

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to