Re: Building scotty on SunOS 4.1.4

Erik Schoenfelder (schoenfr@gaertner.de)
Mon, 7 Oct 96 10:33:17 +0200

Hi!

David> When I build scotty scotty-2.1.2 for SunOS 4.1.4 I get (lots
David> of) assembler warnings from gcc version 2.6.0 (sample below).

David> gcc -c -O -fPIC -I. -I./../tnm/generic \
David> [...]
David> *unknown*: Assembler messages:
David> *unknown*:0: Warning: /usr/nmgtool/sparc-sun-sunos4.1.3_U1/bin/as:
David> I don't understand 'k' flag.

Try to use sun's assembler instead of gnu's asssembler,

eg. by setting
CC = gcc
in unix/Makefile to
CC = gcc -B/bin/

To check how your Tcl was compiled (wether with cc or gcc) manually
have a look at your <path>/lib/tclConfig.sh .

If Tcl was compiled using sun's cc, try to configure scotty with
--disable-gcc

Hope this helps,
Erik