Re: Request for benchmarking: x86 SHA1 code
- From
Michael J Gruber <git@drmicha.warpmail.net>
- Date
- Jul 31, 2009, 11:37 UTC
- Message-ID
- <4A72D76D.3050400@drmicha.warpmail.net>
- In-Reply-To
- <40aa078e0907310411k54dc58fbq9a938c489df56b68@mail.gmail.com>
Erik Faye-Lund venit, vidit, dixit 31.07.2009 13:11:
Show 21 quoted lines
> On Fri, Jul 31, 2009 at 12:46 PM, George Spelvin<linux@horizon.com> wrote: >> I haven't packaged this nicely, but it's not that complicated. >> - Download Andy's original code from >> http://www.openssl.org/~appro/cryptogams/cryptogams-0.tar.gz >> - Unpack and cd to the cryptogams-0/x86 directory >> - "patch < this_email" to create "sha1test.c", "sha1-586.h", "Makefile", >> and "sha1-x86.pl". >> - "make" > > $ patch < ../sha1-opt.patch.eml > patching file `Makefile' > patching file `sha1test.c' > patching file `sha1-586.h' > patching file `sha1-x86.pl' > > $ make > make: *** No rule to make target `sha1-586.o', needed by `586test'. Stop. > > What did I do wrong? :) > Would it be easier if you pushed it out somewhere? >
You need to go to the x86 directory, apply the patch and run make there. (I made the same mistake.) Also, you i586 (32bit) glibc-devel if you're on a 64 bit system.
Michael