Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!voder!pyramid!ctnews!risky!scottl From: scott@convergent.com (Scott Lurndal) Newsgroups: comp.sys.m88k Subject: Re: porting ksh on DG/UX Message-ID: <2499@risky.Convergent.COM> Date: 16 Jan 91 18:26:50 GMT References: <2916@hsi86.hsi.com> Sender: root@risky.Convergent.COM Reply-To: scott@convergent.com (Scott Lurndal) Organization: Unisys Network Computing Group Lines: 38 In article <2916@hsi86.hsi.com>, kenney@hsi86.hsi.com (Brian Kenney) writes: |> 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. [ lines deleted ] |> _node_names: |> word @LC0 |> word 0 |> half 0 |> set .,.+2 <<<<<<<<<<< This is where the error occurs (line 590) This should have been generated as "align 4". The code generator is broken in your gcc. If you have the source, it shouldn't be too difficult to repair, otherwise put a sed script between the compiler and the assembler to change the "set .,.+2" to "align 4" (or better yet, in this case, "half 0") |> word @LC1 |> word 0 |> half 0 |> set .,.+2 <<<<<<<<<<< |> word @LC2 |> word @LC3 |> half 4096 |> set .,.+2 <<<<<<<<<<< |> . |> Thanks, |> |> -Bri |> -- |> --- |> ---- Brian Kenney kenney@hsi.com |> ----- 3M Health Information Systems Wallingford, CT |> ------ you're welcome, scott.