[fpc-pascal] Building a i686-pc-mingw32 crosscompiler from i686-darwin

Adriaan van Os fpc at microbizz.nl
Mon Jul 16 14:57:37 CEST 2007


Daniƫl Mantione wrote:

> Op Mon, 16 Jul 2007, schreef Adriaan van Os:
> 
>> /usr/local/lib/fpc/2.3.1/units/i386-win32/rtl
>> install: ../../rtl/units/i386-win32/rtlconsts.ppu: No such file or directory
>> make: *** [fpc_install] Error 71
> 
> Most of the win32 rtl is built by a build unit called buildrtl.pp 
> in the directory rtl/win32. rtlconsts is listed in this unit and should 
> have been compiled. Could you check wether the compiler does the actual 
> compilation of rtlconsts? If yes, where did it place the rtlconsts.ppu?

There was a /rtlconsts.ppu in objpas, which caused the problem. I think this was the result of my 
various experiments this morning. After checking out clean sources, "sudo make install worked" and 
also the crosscompiler.

[p17:~/fpc/testfpc] adriaan% fpc -Twin32 hello.pas
Free Pascal Compiler version 2.3.1 [2007/07/16] for i386
Copyright (c) 1993-2007 by Florian Klaempfl
Target OS: Win32 for i386
Compiling hello.pas
Linking hello.exe
9 lines compiled, 0.4 sec, 27504 bytes code, 1144 bytes data

Thanks,

Adriaan van Os




More information about the fpc-pascal mailing list