hla

HLA compilation - can build directory be specified?


By default, compiling hla filename.hla builds an executable in the currently directory. Can a different directory be specified?


Solution

  • ENVIRONMENT

    SOLUTION

    EXAMPLE

    user@host:~/example$ ls
    src  bin
    user@host:~/example$ cd src
    user@host:~/example/src$ ls
    filename.hla
    user@host:~/example/src$ hla -x:../bin/filename.x filename.hla
    user@host:~/example/src$ ls
    src.hla  src.o
    user@host:~/example/src$ cd ../bin
    user@host:~/example/bin$ ls
    filename.x
    user@host:~/example/bin$