Xref: utzoo comp.sys.m88k:570 comp.unix.programmer:841 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!spool2.mu.edu!uunet!hsi!hsi86!kenney From: kenney@hsi86.hsi.com (Brian Kenney) Newsgroups: comp.sys.m88k,comp.unix.programmer Subject: porting ksh on DG/UX Message-ID: <2916@hsi86.hsi.com> Date: 15 Jan 91 16:18:07 GMT Reply-To: kenney@hsi.com (Brian Kenney) Followup-To: comp.sys.m88k Distribution: na Organization: 3M Health Information Systems, Wallingford, CT Lines: 69 I am trying to port ksh (version 11/16/88d) to a DG 6220. We are using GNU GCC version 1.37.23 (88k, Aug 15 1990) compiled by GNU C version 1.37. Here's the problem: The assembler, as, gags on msg.s, which was created by gcc from msg.c. Here is the pertinent part of msg.c: /* built in names */ const struct name_value node_names[] = { "PATH", NULL, 0, "PS1", NULL, 0, "PS2", "> ", N_FREE, . . (lots of the same deleted, but you get the idea) . }; Here is the offending code in msg.s: @LC0: string "PATH\000" align 4 @LC1: string "PS1\000" align 4 @LC2: string "PS2\000" align 4 . . . (lots of the same deleted) . _node_names: word @LC0 word 0 half 0 set .,.+2 <<<<<<<<<<< This is where the error occurs (line 590) word @LC1 word 0 half 0 set .,.+2 <<<<<<<<<<< word @LC2 word @LC3 half 4096 set .,.+2 <<<<<<<<<<< . . . Here is the error message: as: "msg.s": line 590: operand '.' type mismatch for 'set' (The error repeats for every set, until the assembler quits due to too many errors.) Any ideas? Thanks, -Bri -- --- ---- Brian Kenney kenney@hsi.com ----- 3M Health Information Systems Wallingford, CT ------