On 04 May 2010, at 10:16, Graeme Geldenhuys wrote: > Jonas Maebe het geskryf: >> >>> Cross-compiling is OK for small mobile devices, but not for mature >>> platforms and >>> daily development. >> >> Why not? > > Because it doesn't always work. > > I run 64-bit FPC under Linux. I have cross-compiled 32-bit Linux and 32-bit > Windows executables. The compilation went fine (no errors), but the > executables were not runnable on the 32-bit platforms. In the end I had to > setup 32-bit VirtualBox sessions with 32-bit FPC compilers to get actual > working executables. > > No idea why the cross-compiling created corrupted executables.
The above simply does not make any sense. I'm not saying that the above was not your experience, but other than a very strange bug which I have never seen mentioned by anyone before, I have no idea what could cause those problems. It's definitely not some kind of inherent problem of cross-compiling (with FPC or otherwise). Jonas_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel