Subject: Re: X11 build hosed
To: Tim Rightnour <root@garbled.net>
From: Takao Shinohara <shin@sm.sony.co.jp>
List: port-hpcmips
Date: 06/12/2000 10:50:01
Tim Rightnour <root@garbled.net> writes:
> Looking at the Makefile generated in xc/programs/Xserver/cfb.. there is no way
> the below could work.  It shouldn't even be attempting to compile this file. 
> 
> If you hack past this.. it blows up later on the as -DTETEXT with
> as: unrecognised option -TETEXT
> 
> These files obviously need to be preprocessed.. why are they .s instead of .S?
> 
> 
> making all in programs/Xserver/cfb...
> gcc  -c stipmips.s
> stipmips.s: Assembler messages:
> stipmips.s:103: Error: illegal operands `lw'
> stipmips.s:104: Error: illegal operands `la'
> stipmips.s:105: Error: illegal operands `lw'
> stipmips.s:106: Error: illegal operands `li'
> stipmips.s:107: Error: illegal operands `subu'
> stipmips.s:109: Error: illegal operands `addu'

Your NetBSD.cf seems to be out of date.
Please update xsrc/xc/config/cf/NetBSD.cf and try again.

The problem was introduced (and fixed) by me. Sorry for the inconvenience.

Those files (ex. stipmips.s) are written for MIPS assembler which always
process source files with cpp.

--- Takao Shinohara