1

Ubuntu free pascal linking trouble

view story
linux-howto

http://serverfault.com – I try to compile file named test.php I get error /usr/bin/ld: cannot open output file test: Is a directory test.pas(5,1) Error: Error while linking test.pas(5,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted I renamed file and all it's ok. But when I use <? exec("fpc file.pas"); ?> I get error: Error: Error while linking file.pas(5,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted Error: /usr/bin/ppc386 returned an error exitcode (normal if you did not specify a source file to be compiled) ) I searched a lot (HowTos)