kenney@hsi86.hsi.com (Brian Kenney) (01/16/91)
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
------