Re: benchmark

Adam Back <[email protected]>
Newsgroups gmane.mail.spam.hashcash
Message-ID <[email protected]>
Hi

The -mmmx question I think is as Linus said: you have an old gcc
compiler which appeas not to support this option.

I also tried an AMD chip and the mmx code works.  Your chip
capabilities confirms this listing "MMX".

The -mcpu=pentium just tells it to optimize for pentium (but code is
still runnable on 486s etc).

Adam

On Mon, Sep 13, 2004 at 04:35:59AM -0400, Atom 'Smasher' wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> On Mon, 13 Sep 2004, Adam Back wrote:
> 
> >Does compiling with make x86 work on BSD?
> =========
> 
> that doesn't get far, at all... pretty much the same error with gmake...
> 
> 
> # make x86
> make "CFLAGS=-DREGEXP_POSIX -O3 -funroll-loops -march=i386 -mcpu=pentium 
> -mmmx  -D_REENTRANT -D_THREAD_SAFE -fPIC " build
> cc -DREGEXP_POSIX -O3 -funroll-loops -march=i386 -mcpu=pentium -mmmx  
> -D_REENTRANT -D_THREAD_SAFE -fPIC  -c hashcash.c
> cc1: Invalid option `mmx'
> *** Error code 1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.