Hi,
I found the cross-compiling to difficult to setup under Linux, so instead I decided to setup a VirtualBox with Windows XP. I have installed FPC 2.3.1 (2.4.0rc1 actually), setup my fpc.cfg file. I then checked out the latest Lazarus trunk.
I then did a 'make all' inside the lazarus directory and all compiled fine until the end when I got the following error. Any ideas what is causing that error?
--------------------------------
...
Compiling idecmdline.pas
Compiling resource C:\Lazarus\ide\lazarus.rc
Compiling resource ..\units\i386-win32\lazarus.or
Linking ..\lazarus.exe
lazarus.pp(130,1) Error: Error reading coff file, can't read object data lazarus.pp(130,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted
make[2]: *** [lazarus.exe] Error 1
make[2]: Leaving directory `C:/Lazarus/ide'
make[1]: *** [ide] Error 2
make[1]: Leaving directory `C:/Lazarus/ide'
make: *** [ide] Error 2
--------------------------------
I have binutils installed, but it might be a old copy and I'm not sure if that is what is causing the problem. The exact same versions of FPC and Lazarus compile fine under Linux, so I'm pretty sure it's not a code bug in the repository revision.
When can I download the latest pre-compiled binutils for Windows? Is that actually what this error means?
Regards,
- Graeme -
