[fpc-devel] 64 bit version problem

Miklos Cserzo cserzo at puskin.sote.hu
Mon Jan 28 17:00:51 CET 2008



Jonas Maebe wrote:

> Try compiling with -Aas, because the internal assembler is quite broken 
> for x86_64 in 2.2.0.

That gives equivalent result as replacing the compact nested reference 
of the array element with the several simple references, i.e. 'score' 
cumulates non-zero values but the program still behaves very differently 
on 64-bit relative to the normal 32-bit situation.

>> Is there a command line switch instructing the compiler to generate 
>> 32-bit executable on 64-bit environment?
> 
> No.

Well, it would be a good idea to implement it eventually if my word counts.

>> If not, can the two versions of the complier coexists in parallel?
> 
> Yes.


What is the trick then? When I install it from the RPM the two 
installation will overwrite each other.

Cheers,

miklos



More information about the fpc-devel mailing list