Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Introductory examples

&pagelevel(3)&pagelevel

Compiling and linking with the c89 command

c89 hello.c

Compiles hello.c and creates the executable file a.out

c89 -o hello hello.c

Compiles hello.c and creates the executable file hello

c89 -c hello.c upro.c

Compiles hello.c and upro.c and creates the object files hello.o and upro.o

c89 -o hello hello.o upro.o

Links hello.o and upro.o to the executable file hello

Copying with the bs2cp command

bs2cp bs2:hello hello.c

Copies the cataloged BS2000 file HELLO to the POSIX file hello.c

bs2cp ’bs2:plam.bsp(hello.l,l)’ hello.o

Copies the LLM HELLO.L from the PLAM library PLAM.BSP to the POSIX object file hello.o