Re: [open-cobol-list] gcc compile error with CBL_OPEN_FILE
From:
schlehuberc
Subject:
Re: [open-cobol-list] gcc compile error with CBL_OPEN_FILE
Date:
Thu, 21 Jun 2007 13:15:12 -0500
I took at look at the compile script
that is used for MF.
Indeed, the IBMCOMP option is used.
For us, all of our development takes
place on the Mainframe, and is then ported to Unix using MF.
I'll look at using the bs2000 option
to see what it does.
Thanks,
Cris
Roger While <address@hidden> wrote on 06/21/2007
01:04:53 PM:
> Hmm, using MF routines with -std=mvs/ibm ? :-)
> Sounds like a contradiction in terms :-)
>
> Are you sure you should be using -std=mvs/ibm ?
> If you are coming from MF, then unlikely unless under
> MF you had the IBMCOMP compile option.
> (ie. 2/4/8 binary byte storage) In which case
> -std=bs2000 is probably a better choice.
>
> Anyway, fixed.
> Download as usual.
>
> Roger
>
>
> > (*(int *) (b_1)) = CBL_OPEN_FILE (b_9, b_14,
b_15, b_17, b_10, NULL,
> >NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
>
>
>