MHARRIS@bbna.arpa (05/09/86)
A thorny mixed-language problem on IBM Xenix 1.0 (on an AT): I have a (trivial) mainline and a (nontrivial) C subroutine package which uses curses. When the mainline is in C (and the code linked with cc), it runs fine, but when the mainline is in F77 (and the code linked with cl), it seg faults. The stack is getting stepped on in such a way that debugging is very messy. I am using "large" model, since F77 doc sez that's all it supports. The F77 is v 3.3 and I have the 12/31/85 DIAL software development system updates installed. A related (?) question: The F77 doc file sez "use cc -Ze -c -AL to compile the C modules". I did but I don't know why; what does -Ze mean? Needless to say, any advice, or pointer to same, would be greatly appreciated. -- Michael Harris 617-497-3794