几分钟前,我使用OCPWin在Windows XP上安装了OCaml。当我尝试编译example program时,我遇到了两个错误:
ld: cannot find crtbegin.o: No such file or directory
ld: cannot find crtend.o: No such file or directory
** Fatal error: Error during linking
File "caml_startup", line 1:
Error: Error during linking
我可以在bin
文件夹中找到gcc,ar和ld,但安装目录或其子目录中不存在crtbegin.o
或crtend.o
。如何解决这个问题?我在(安装后)安装步骤中遗漏了什么吗?