Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

RE: Linker flag -U in cob32 or cob64

$
0
0

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


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>