compiling for debug on Linux

2013-09-03 Thread Ken Goldman
I know this is a FAQ, but the answers I found all included the response that didn't work. openssl 1.0.1c on Linux: How do I compile and link so the debugger can step into the openssl code? Are there definitive instructions anywhere, or does everyone use trial and error? I'm using a local

Compiling for debug

2012-08-20 Thread Ken Goldman
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?

Re: Compiling for debug

2012-08-20 Thread Jeffrey Walton
On Mon, Aug 20, 2012 at 4:54 PM, Ken Goldman kgold...@us.ibm.com 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

Re: Compiling for debug

2012-08-20 Thread Dr. Stephen Henson
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

Problem compiling with debug option in OpenSuSE 10.2

2007-05-15 Thread Endhy Aziz
Hi all, I'm trying to compile OpenSSL-0.9.8c with debug option, but some errors shown below occurs : ... ... make[2]: Entering directory `/home/endhy/Documents/openssl-0.9.8d/apps' ( :; LIBDEPS=${LIBDEPS:--L.. -lssl -L.. -lcrypto -lefence -lefence -ldl}; LDCMD=${LDCMD:-gcc};

Re: Problem compiling with debug option in OpenSuSE 10.2

2007-05-15 Thread Goetz Babin-Ebell
--On Mai 15, 2007 13:56:39 +0700 Endhy Aziz [EMAIL PROTECTED] wrote: Hi all, I'm trying to compile OpenSSL-0.9.8c with debug option, but some errors shown below occurs : ... ... [...] /usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: cannot find -lefence