AcuCobol Error - Program contains object code for a different processor



The reason this error occurs is that the object was compiled with a flag that designates it to be executed by a specific processor type Intel, sparc, etc.


When an object is compiled the instructions that are placed in the object are generic, intended to be run by any processor. This gives AcuCobol-GT its portability. When a program is compiled with one of our processor specific flags then the instruction set will be specific for a specific processor type. For example if you compile a program for "Intel" and then move it over to a machine with a "SPARC" processor then you would get this error.

The runtime does check for native code objects immediately when they are loaded into memory.

Please review the V9.2 online documentation: -

Comment List