Highlighted
Absent Member.
Absent Member.
340 views

compiling using visual cobol compiler

Hi Chris,

Thank you for all the help above. We are going for an end user license for our development environment. For UAT and Production we are going only for the run time compiler. Here wanted to ask a question.
I would be having the .o file which are object files and needs to linked to create executable.

Since UAT and PROD will have only run time compiler, will the command like below run fine to link the files and create executable pgm1.out


cob  -xv  -o   pgm1.out   pgm1.o  subpgm1.o  subpgm2.o

0 Likes
1 Reply
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: compiling using visual cobol compiler

Hi Satya,

Yes, on Unix platforms, the command you've shown will link the .o files (created by prior compiles) into a single executable file.

Blair McDonald

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.