Thanx Leledumbo, with your post I could compile binutils. Yet after that I came across 2 other problems in the road to crosscompiling in Linux.
First, I try to cross compile Lazarus from the IDE as instructed in
http://wiki.lazarus.freepascal.org/Cross_compiling_for_Win32_under_LinuxBut although I had correctly configured fpc.cfg (at least I think so) it can't find system.ppu unit, so I tried the command line way. And I got the following error:
Compiling cleandirdlg.pas
Compiling compatibilityrestrictions.pas
Compiling restrictionbrowser.pas
Compiling projectwizarddlg.pas
lazarus.pp(114,1) Error: resource compiler not found, switching to external mode
lazarus.pp(114,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make[2]: ** [lazarus.exe] Erro 1
make[2]: Saindo do diretório `/home/nelson/des/lazarus/lazarus-src/lazarus/ide'
make[1]: ** [ide] Erro 2
make[1]: Saindo do diretório `/home/nelson/des/lazarus/lazarus-src/lazarus/ide'
make: ** [ide] Erro 2
What and where is this resource compiler ? is it windres ? if it is where can I find it ? I am in Ubuntu trying to make a win32 cross compile. I got a windres.exe in my path, but I think it's a windows executable.
Also how can I know if the paths I put in fpc.cfg are correct ? How do I know exactly where Lazarus is looking for files ?
Thnx in advance
-Nelson