[fpc-pascal] benefit of "cross" string added to compiler name?

Jonas Maebe jonas.maebe at elis.ugent.be
Sat May 22 13:35:17 CEST 2010


On 22 May 2010, at 12:56, Thierry Bothorel wrote:

> Jonas Maebe a écrit :
>> When you build the entire source tree for a different architecture than the host architecture, both a cross-compiler and a native compiler are created. Both binaries are in fpc/compiler, so they have to have different names.
> 
> for my personal need, I just use
> http://svn.freepascal.org/svn/fpcbuild/trunk/install/cross/buildcrosssnaphot
> script to build my specific target cpu / target OS cross compiler only,
> and I have no previous "ppcarm" file.
> So in my case it does not matter what the file name is? (This script
> does not add the 'cross' string).

It mainly matters if you use the "fpc" binary (or in general, any fpc or fpcmake-based makefiles), because than the "cross" will automatically be added to the name of the compiler binary when cross-compiling.


Jonas


More information about the fpc-pascal mailing list