Search code examples
c++cobolgnucobol

mix cobol with c++/C


I tried to mix COBOL code with C++, but i not have success :(

I see this topic in IBM forum: http://publib.boulder.ibm.com/infocenter/comphelp/v111v131/index.jsp?topic=/com.ibm.aix.cbl.doc/PGandLR/tasks/tpsub17.htm ( Calling between COBOL and C/C++ programs )

But, when I go to build this code, I receive several a lot of errors from linker :(

So, what I can do to build this code, using OpenCobol?


Solution

  • The IBM docs are specific to their compiler and OS. Try this instead

    OpenCobol wiki