eyal@cancol.oz (Eyal Lebedinsky) (08/20/90)
What is the fix that enables PDC 3.33 to create an executable for A68k (Charlie Gibbs Assembler) that works correctly. A friend and I are working on a PD C Compiler derived from the Compiler on Fisk Disk 110 and it creates an executable for A68k that fails in exactly the same way as for PDC. I would be very grateful if you could let me know what the error is as I have been unable to trace it in our compiler. Thanks for your time Michael Taylor (using Eyals' account) P.S. I am just the Amiga test site. Eyal does all the development work on his PC and I use MSH to transfer the objects to the Amiga and then link them. P.P.S. If anyone is interested in trying out our version of the PDC compiler then please let us know. -- Regards Eyal
lhummel@ux1.cso.uiuc.edu (08/20/90)
Written by eyal@cancol.oz in comp.sys.amiga: /* ---------- "Fix to PDC 3.33" ---------- */ > What is the fix that enables PDC 3.33 to create an executable for A68k > (Charlie Gibbs Assembler) that works correctly. A friend and I are working on > a PD C Compiler derived from the Compiler on Fisk Disk 110 and it creates an > executable for A68k that fails in exactly the same way as for PDC. I would be > very grateful if you could let me know what the error is as I have been unable > to trace it in our compiler. The problem was fixed quite a while back...long before 3.33. I'm really surprised you haven't caught it. If that blatant mistake in handling logical and/or expressions has eluded you, then I don't see how you're going to get past all of the more insidious problems lurking in the original PDC code. (HINT: Try reversing the order of the two operands in the offending A68k source, and observe that the problem disappears. Now do you see the where the problem is coming from? The fix is trivial from there. You might even find that the fix is more efficient that the original!) What on Earth are you doing that would move you to start from the first release of PDC? That code is NOT maintainable. Don't waste your time! < Lionel P.S. You can find the fix to that and a host of other problems by looking in the source to the latest PDC (3.34) in amiga/misc/PDC on: 128.174.5.59 ux1.cso.uiuc.edu uiucux1 ux1