Does --unit-destination-path work, or am I missing something:
zany:~/unix/c/testdir% ls -l total 8 drwxrwxr-x 2 peter staff 68 May 1 12:06 build -rw-rw-r-- 1 peter staff 104 May 1 12:05 testbuild.pas zany:~/unix/c/testdir% cat testbuild.pas unit testbuild;
interface
procedure testbuild;
implementation
procedure testbuild; begin end;
end. zany:~/unix/c/testdir% gpc -c --unit-destination-path=./build/ testbuild.pas zany:~/unix/c/testdir% ls -l total 24 drwxrwxr-x 2 peter staff 68 May 1 12:06 build -rw-rw-r-- 1 peter staff 354 May 1 12:06 testbuild.gpi -rw-rw-r-- 1 peter staff 1076 May 1 12:06 testbuild.o -rw-rw-r-- 1 peter staff 104 May 1 12:05 testbuild.pas zany:~/unix/c/testdir% ls -l build zany:~/unix/c/testdir%
It seems to ignore the --unit-destination-path setting, is there some different setting I'm missing?
Thanks, Peter.