rodrigosantosbr

[Ubuntu >= 12.04] How to install Harbour / Clipper

Dec 30th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!

Download Harbour

https://sourceforge.net/projects/harbour-project/files/binaries-linux-ubuntu/nightly/r2017-12-15-18_53_harbour_3.2.0-1_i386.deb/download

Install Harbour Compiler:

sudo dpkg -i r2017*.deb

Create hello.prg file

// hello.prg
// Programa exemplo para compilação no CLIP.
// hbmk2 hello.prg
// ./hello

PROCEDURE Main()
   ? "Hello, world!"
   RETURN

Compile with:

hbmk2 hello.prg

Execute with:

./hello
Add Comment
Please, Sign In to add comment