when i try to compile a program on my non-GUI linux, it tells me that it can't find the programs... hunh?
fpc -FUlib/$(TargetCPU)-$(TargetOS) foo.pas
fpc is trunk installed via fpcup...
[quote]
~/fpc -FUlib/$(TargetCPU)-$(TargetOS)
foo.pas
TargetCPU: command not found
TargetOS: command not found
Free Pascal Compiler version 2.6.5 [2014/04/08] for i386 Copyright (c) 1993-2012 by Florian Klaempfl and others Target OS: Linux for i386
Compiling foo.pas
foo.pas(23,1) Error: Can't create object file: lib/-/project1.o foo.pas(23,1) Fatal: Can't create object lib/-/project1.o Fatal: Compilation aborted
Error: /home/user/development/fpc/bin/i386-linux/ppc386 returned an error exitcode (normal if you did not specify a source file to be compiled)
[/quote]
so how do i use macros to tell fpc where to place the unit libraries on linux like i do for winwhatever??
