[fpc-devel] Same 64bit assembly code compiles under windows but not in linux (fpc 260)

luiz americo pereira camara luizmed at oi.com.br
Wed Oct 3 04:41:44 CEST 2012


2012/10/2 Jeppe Græsdal Johansen <jjohan07 at student.aau.dk>

>  Integer is not a specifically sized type. It might differ based on what
> platform you are on. For example, it's 16bit on i386-linux when compiled
> with mode fpc. With mode objfpc on the same platform it's 32bit.
>

The code is compiled under mode Delphi both in linux and windows

Both compilers are i386-64bit version 2.6.0

Both OS are 64bit


>
> Also, wouldn't MOVD XMM5, [Bias] imply that you are moving from the
> address stored in the Bias variable? That would make a whole lot more sense
> as to why it generates this error
>


The question is why it compiles and works under windows (both in fpc and in
Delphi) and not under Linux?

A specific bug under Linux?
A missing configuration?

Luiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20121002/6212a7a6/attachment.html>


More information about the fpc-devel mailing list