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).


Jonas_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to