Other (Ada) Using GNAT12 and gprbuild by itself to build a simple app?

I installed GNAT12 and gprbuild by itself without Alire with the Mate Software Station. I pasted a known good test "Hello World!" (hello_world.gpr) into my Pluma (already installed as default) text editor and tried to compile it with gprbuild. gprbuild (the one I found) is at /usr/local/gnat12/bin. While in my hello_world folder already and "su", I typed /usr/local/gnat12/bin gprbuild hello_world.gpr and received an "su: /usr/local/gnat12/bin: Permission denied" error. I'm trying to teach myself Ada, but also, I am very new to FreeBSD.

I'm still not sure about PATH. I tried to set in .cshrc in the root directory, but still do not have a "global" access to it.

Can someone describe or point me to a link where I might be able to build just using GNAT12 and gprbuild?
 
Back
Top