On 2016-05-05 10:38, M Pulis wrote: > No main program found in open files. Can not build.
Same as what Mark said. Give more information and paste exact compilation or runtime error. Under FreeBSD with FPC 3.0.0 =============================================== [tmp]$ fpc hello.pas Hint: End of reading config file /home/graemeg/.fpc.cfg Free Pascal Compiler version 3.0.0 [2015/11/16] for x86_64 Copyright (c) 1993-2015 by Florian Klaempfl and others Target OS: FreeBSD for x86-64 Compiling hello.pas Linking hello 6 lines compiled, 0.1 sec 1 hint(s) issued [tmp]$ ./hello Hello world ============================================== Regards, Graeme -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal