On 28 Jan 2008, at 17:00, Miklos Cserzo wrote:
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.
Then you'll have to submit a bug report with a sample program that
demonstrates the program, otherwise we cannot fix it.
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.
It has nothing to do with whose word counts; the compiler simply can
only contain one code generator. The fpc wrapper can however call
different compilers based on the -P switch (-P386 -> call ppc386, -
Px86_64 -> call ppx64, ...).
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.
That's an error in the way the rpms are built then, but I don't know
nothing about rpm building. The default configurations support
multiple concurrently installed versions (for the same or different
architectures) out of the box.
Jonas
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel