Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!harvard!seismo!brl-adm!brl-smoke!smoke!MHARRIS@bbna.arpa From: MHARRIS@bbna.arpa Newsgroups: net.unix Subject: Mixed Language Problem on Xenix Message-ID: <705@brl-smoke.ARPA> Date: Fri, 9-May-86 09:10:28 EDT Article-I.D.: brl-smok.705 Posted: Fri May 9 09:10:28 1986 Date-Received: Sun, 11-May-86 04:04:57 EDT Sender: news@brl-smoke.ARPA Lines: 20 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