Re: Batch compiling Fujitsu COBOL





"Richard" <riplin@xxxxxxxxxxxx> wrote in message
news:1185771148.405673.243830@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Jul 30, 2:02 pm, "Pete Dashwood"
<dashw...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
I may need to compile a bunch of COBOL programs written in Fujitsu
NetCOBOL.

(They are modules of source code produced by a generator I am building.)

I've read Chapter 3 of the Users' Guide and the process is fairly
straight
forward, however, I need to wrap this so an end User can do it. I
therefore
need to provide a script or Windows Console that will let a series of
file
names be specified (I think a textfile with a list of file names would be
cool), with options and outputs etc.

Before I go and write this, I was wondering of anyone has such a tool
they'd
be prepared to share?

Alternatively, if I produce it, would anybody like a copy :-)?

Pete

--
"I used to write COBOL...now I can do anything."


'make' works for MS Windows version of Fujitsu 6. It should be OK with
7. In fact the project generates a makefile and then runs this. You
should be able to pick this out and construct your own makefile. The
advantage is that it will work out dependencies and compile whatever
is needed.


That's a good idea. Thanks, Richard.

There won't be any dependencies between these modules, and my initial
thought was to simply compile and link them, producing a series of .EXEs

I never thought about using MAKE. It might be possible to combine each batch
of these programs into a single Library, and that would have a number of
advantages later in the process (Not to mention packaging).

I'll think about doing something with MAKE.

Cheers,

Pete.

--
"I used to write COBOL...now I can do anything."


.



Relevant Pages

  • Re: dependency scanner
    ... Ivy gave us a leg up on analyzing dependencies. ... Historically, this is done with configure, though ant ... packages that won't compile need to be skipped. ...
    (comp.lang.java.programmer)
  • Re: Want to compile my roguelike
    ... you don't need a makefile with lcc-win32. ... The aboove applies to compiling Vanilla Angband 3.0.6 on my ... Cosmic Gerbil ... I've been working nearly all day trying to compile. ...
    (rec.games.roguelike.angband)
  • Re: How would you handle this error 430 automation error?
    ... Next, open each project separately, set compatibility to binary and compile them. ... Store the dlls in the one output folder and add a reference to those dlls as needed in the toher projects instead of project references or project groups. ... dependencies and notice that my Project references are not persisting. ...
    (microsoft.public.vb.general.discussion)
  • Re: problem compiling sample drivers
    ... Then I wanted to compile the sample drivers, ... NMAKE: fatal error U1064: MAKEFILE not found and no target specified ...
    (microsoft.public.development.device.drivers)
  • Re: problem compiling sample drivers
    ... Then I wanted to compile the sample drivers, ... NMAKE: fatal error U1064: MAKEFILE not found and no target specified ...
    (microsoft.public.development.device.drivers)