10 Jan
2011
10 Jan
'11
6:32 p.m.
Hello, On Mon, Jan 10, 2011 at 11:08:09AM -0500, Joshua Friedman wrote:
Is there an easy to to tell if I succeeded in compiling cln to 64 bit on OS X?
a) Check if pointer_bitsize is 64, i.e. // foo.cc #include <cln/intparam.h> #if pointer_bitsize != 64 #error Need 64-bit libcln #endif // foo.cc ends here g++ `pkg-config --cflags cln` -c foo.cc b) Run file /path/to/libcln.dylib c) Disassemble the thing, check if rax, rbx, rsp, r[8,15], etc, are used. If yes, this is definitely 64-bit code. Hope this helps, Alexei