Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!sun-barr!cs.utexas.edu!uunet!murtoa.cs.mu.oz.au!goanna!trlamct!trlluna!bruce!monu1!vaxc!obb130t From: obb130t@vaxc.cc.monash.edu.au Newsgroups: comp.unix.xenix,aus.computers Subject: Wierd problem: XENIX 386 + Microsoft COBOL + fixhdr -3 Message-ID: <6056@vaxc.cc.monash.edu.au> Date: 3 Jul 89 01:12:04 GMT References: <6055@vaxc.cc.monash.edu.au> Organization: Blood Bank, Melbourne Lines: 31 In article <6055@vaxc.cc.monash.edu.au>, obb130t@vaxc.cc.monash.edu.au writes: > We have a strange problem with XENIX COBOL which Microsoft Australia have not > (so far)been able to help with...wondering if the net can help. > > Aim: add C subroutines to COBOL, intended to run under Xenix 386. > > Method: > RTFM. Do it just like so. > > Problem 1. > It doesn't work. Various diagnostics relating to Memory model, etc. > > Solution 1. > Add -M0 to cc command line in mknewcob. Compile, link and initial > testing all work fine. Note that the new COBOL run-time system is > MUCH larger (120K instead of 90K). Sorry...forgot to mention in my previous posting that until I disabled the "fixhdr -3" the RTS would not run. It got treated as a shell script and generated a strange "missing parenthesis in line 1". Maybe that's the answer? Now if I only knew the question... ..david -- ////////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ / David M. Bennett obb130t@vaxc.cc.monash.edu.au \ / Demileigh Consulting, 22 Tourello Ave, East Hawthorn 61 3 882 7599 \ \ Victorian Red Cross Blood Bank, Balston St, South Melbourne 61 3 616 0353 / \ I never refuse. I never contradict. I sometimes forget. - Disraeli. / \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\///////////////////////////////////////