Path: utzoo!utgpu!attcan!uunet!husc6!cs.utexas.edu!utastro!bigtex!james
From: james@bigtex.uucp (James Van Artsdalen)
Newsgroups: comp.unix.microport
Subject: Re: compress.c & GNU C 1.25
Summary: Better fix
Message-ID: <5639@bigtex.uucp>
Date: 9 Aug 88 09:47:34 GMT
References: <5626@bigtex.uucp>
Reply-To: james@bigtex.UUCP (James Van Artsdalen)
Organization: F.B.N. Software, Austin TX
Lines: 16

It turns out that the problem really was a bug in GNU C in the 386
configuration.  To fix, include this in the config.h file for gcc
and recompile gcc:

#undef ASM_OUTPUT_ASCII
#define ASM_OUTPUT_ASCII(asm_out_file, p, size) \
{int i=0; \
  while (i < size) \
    { if (i%10 ==0) { if(i!=0)fprintf(asm_out_file,"\n"); \
		      fprintf(asm_out_file,ASM_BYTE); } \
        else fprintf(asm_out_file,","); \
	  fprintf (asm_out_file, "0x%x",p[i++]);} \
	fprintf(asm_out_file,"\n"); }
-- 
James R. Van Artsdalen    ...!uunet!utastro!bigtex!james     "Live Free or Die"
Home: 512-346-2444 Work: 328-0282; 110 Wild Basin Rd. Ste #230, Austin TX 78746