[hashcash] Re: 1.06 fails to build - freeBSD

  • From: Adam Back <adam@xxxxxxxxxxxxxxx>
  • To: hashcash@xxxxxxxxxxxxx
  • Date: Sat, 11 Sep 2004 18:56:02 -0400

I think I introduced this issue if you build generic in 1.06 by taking
out the #if defined(__MMX__) because MINGW gcc didn't seem to set it.

(If -mmmx is not defined gcc complains about the mmx instructions in
the inline assembler).

You may be able to fix this unless Linus comments it he cause by doing
make x86 instead of make build.  (Or add -mmmx (and maybe
-mcpu=pentium) to your CFLAGS).

Adam

On Sat, Sep 11, 2004 at 05:40:16PM -0400, Atom 'Smasher' wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> On Sat, 11 Sep 2004, Adam Back wrote:
> 
> >Yes this causes problems with IRIX(*) cc also I've noticed.
> >
> >Just comment out those lines in the source, the next version will do
> >that for you...
> ======================
> 
> commented the offending lines in the Makefile, and commented out line 175 
> of getopt.c. it still fails. attached is:
>       make > make-err 2>&1
> 
> fastmint_mmx_standard_1.c:485: syntax error before `['
> fastmint_mmx_standard_1.c:486: syntax error before `['
> fastmint_mmx_standard_1.c:489: syntax error before `['
> fastmint_mmx_standard_1.c:490: syntax error before `['

Other related posts: