[comp.unix.amiga] Fix to gcc 1.37 bug - DISGUSTING HACK

ccplumb@rose.uwaterloo.ca (Colin Plumb) (02/17/91)

The Commodore-supplied gcc 1.37 insists on appending ".w" to all the branches.
This inhibits the assembler's brabch length optimisation and causes problems
when you hit code (such as Perl's eval.c) that requires a >16 bit branch.

The correct colution is to hack the config files, but I haven't got the
Amix config file source handy and finding who has them is slow on a weekend,
so I patched the binary instead.

If you fire up emacs (or your favorite binary editor), you'll find exactly
one instance of ^@.w^@ (also written \0.w\0, or your favourite notation
for ".w" between two null bytes).  This is the offender.  Replace it with
all null bytes and everything will be wonderful.  (At least, perl is
now compiling and it just got past eval.c without complaint.)

(Well, perl didn't compile... unresolved symbols.  But I'm getting closer!)
-- 
	-Colin