Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 13 Mar 2012 18:59:47 +0100
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: Compile john in Windows 64 bits

On 03/13/2012 03:44 PM, Alain Espinosa wrote:
> Hi. This is an email reporting progress in Mingw-x64 compilation of john.
> 
> Requirements downloaded from Mingw-x64 Sourceforge website:
> 1- MSYS binaries(used MSYS-20111123): a working command line with
> required commands(cp, sed...)
> 2- GCC toolchain(used x86_64-w64-mingw32-gcc-4.7.0-2_rubenvb):
> compiler, assembler...
> 3- OpenSSL(used OpenSSL-1.0.0a-bin-x64): general cryptography functions.
> 4- zlib(used zlib-1.2.5-bin-x64): library supporting deflate
> compression/decompression
> 
> Added new make target:
> ----------------------------------------------------------
> win32-mingw-x64:
> 	$(CP) x86-64.h arch.h
> 	@echo "#define JOHN_BLD" '"'$@'"' > john_build_rule.h
> 	$(MAKE) $(PROJ_WIN32_MINGW) \
> 		JOHN_OBJS="$(JOHN_OBJS) x86-64.o sse-intrinsics.o" \
> 		CFLAGS="$(CFLAGS) -Wall -mpreferred-stack-boundary=4 -m64" \
> 		LDFLAGS="$(LDFLAGS) -lgdi32 -llibeay32 -lWs2_32"
> ----------------------------------------------------------

You could try replacing sse-intrinsics.o with sse-intrinsics-64.o and
add -DUSING_ICC_S_FILE and see if it works. It might be faster.

Will you experiment more with this? Otherwise I'll add the above make
target to Makefile for now.

magnum

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.