Am 13.06.2016, 08:54 Uhr, schrieb Paul Eggert:

Helmut Karlowski wrote:

IMHO the asm-test in configure should not be performed in these cases or ASMV
should not be defined for atari or amiga in tailor.h.

That's easy enough to do, so I did that in the gzip master on savannah,

For the files: The assembler fails because of:

#  if defined(sun) || defined(mc68k)
#    define imm(data)   #data
#  else
#    define imm(data)   \#data
#  endif

in lib/match.c. The preprocessor (gcc 4.7) makes "data" or \"data" from that, when it should be #data.

By setting

ASCPPFLAGS='-traditional-cpp -Dmc68k'

in configure ("# Try to assemble match.S.") and lib/Makefile the assembler succeeds. All 68k-based targets should be affected by this. But I did not notice any significant compression-speed-improvement in the assembler-version of gzip, so I'm not sure if it's worth the effort.

-Helmut



Reply via email to