Jonas Maebe schreef:
On 04 May 2010, at 19:40, Vincent Snijders wrote:

I don't know where to add this exactly in this thread, but the win64 version of 
Lazarus includes a native win64 version of the compiler. It is done because I 
think that to make sure it can compile Lazarus correctly, it has to be able to 
compile itself correct and create a running executable.

Why do you think that a cross-compiler would not be able to create a runnable lazarus or compiler 
executable? (I'm not sure what the "itself" refers to in the above sentence) And in case 
you mean the compiler: under which circumstances does lazarus try to recompile the fpc source tree? 
(its makefiles or "build lazarus" commands at least don't do that, afaik)

The only caveat I know of is that the top-level FPC makefile does not include 
support for bootstrapping using a cross-compiler (it is possible to to work 
around it manually, but that's not very nice). Of course, since a regular i386 
compiler is also available, that one can always be used to build a new 
cross-compiler (and native compiler).

A cross compiler can create a runnable lazarus compiler, it just doesn't actually run win64 code, when creating it, so it tests the win64 capabilities of the compiler less.

Vincent
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to