我尝试在Open Solaris上安装FPC:

svn checkout http://svn.freepascal.org/svn/fpc/branches/fixes_2_4 fpcfixes2_4

cd fpcfixes2_4
gmake clean all install INSTALL_PREFIX=~

如下所述: http://wiki.lazarus.freepascal.org/getting_lazarus#building_and_installing_free_pascal_in_unixe

但是我得到了这个错误:

gmake: -iVSPTPSOTO: Command not found
gmake: -iSP: Command not found
gmake: -iTP: Command not found
gmake: -iSO: Command not found
gmake: -iTO: Command not found
/usr/xpg4/bin/rm -f build-stamp.*
/usr/xpg4/bin/rm -f base.build-stamp.*
gmake compiler_cycle RELEASE=1
gmake[1]: -iVSPTPSOTO: Command not found
gmake[1]: Entering directory `/home/jill/basura/fpcfixes2_4'
gmake[1]: -iSP: Command not found
gmake[1]: -iTP: Command not found
gmake[1]: -iSO: Command not found
gmake[1]: -iTO: Command not found
有帮助吗?

解决方案

免费的Pascal编译器写在免费的Pascal上。这意味着您需要现有的免费Pascal编译器二进制文件来编译新版本。

虽然至少在SVN行李箱中支持Solaris/Sparc和Solaris/I386(我不确定X86_64),但我们目前不提供任何二进制文件,因为我们对这些平台没有真正的维护者。另外,我认为只有Solaris/Sparc在Fixes分支中得到支持。

由于没有可用于Solaris的二进制Bootstrap编译器,因此您必须在另一个平台上对初始版本进行交叉编译。看 http://www.stack.nl/~marcov/buildfaq.pdf 了解更多信息。

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top