I rename COB64.cbl as HELLO.cbl
cob64 -g -x -t -oHELLO HELLO.cbl
./HELLO --- works
cob64 -g -x -t -oHELLO HELLO.o
./HELLO -- works
cob64 -g -x -t -oHELLO HELLO.o -U
linker flag -U makes all standard C functions as external loadable COBOL function.
./HELLO -- crash
Maybe you never encounter above issue as me.
On your machine:
cob64 -g -x -t -oHELLO HELLO.o -U
is just as good as
cob64 -g -x -t -oHELLO HELLO.o
Thanks