[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [open-cobol-list] Undocumented cobc option: -static
From: |
Kevin Monceaux |
Subject: |
Re: [open-cobol-list] Undocumented cobc option: -static |
Date: |
Thu, 13 Nov 2014 10:40:34 -0600 |
User-agent: |
Mutt/1.5.22 (2013-10-16) |
On Thu, Nov 13, 2014 at 08:23:28AM -0800, Scott McKellar wrote:
> Questions:
>
> Have I interpreted -static correctly?
I suspect you have, but I'm only guessing based on poking around a little in
the source. In cobc.c in the long_options struct I found:
{"static", CB_NO_ARG, &cb_flag_static_call, 1},
{"dynamic", CB_NO_ARG, &cb_flag_static_call, 0},
Which looks like -static, though for a long option --static would look more
natural, enabled static calls and -dynamic enables dynamic calls.
> Will -static be available in v2.0? (I'm currently doing my explorations
> using v1.1.)
It would appear so. It was the 2.0 source I got the above info from.
> Could someone please please document -static in the FAQ and wherever else
> is appropriate?
The text output by cobc --help would be another helpful place to have it
documented. It doesn't currently display info about the -static and/or
-dynamic options.
--
Kevin
http://www.RawFedDogs.net
http://www.Lassie.xyz
http://www.WacoAgilityGroup.org
Bruceville, TX
What's the definition of a legacy system? One that works!
Errare humanum est, ignoscere caninum.