SRL Archive - Delphi/FPC Help and Tutorials

32/64


Le Jingle

2012-05-22 19:08:07

quick question: I'm running on a windows 64 bit, would I download a windows 32 bit or windows 64 bit lazarus compiler?

I assume I can run either, but would one be more beneficial over the other?

Main

2012-05-22 19:11:46

run 64 bit, gets ya a little bit faster :)

Le Jingle

2012-05-22 19:14:31

Oki Doki cheers

Main

2012-05-22 19:20:00

Do you live near canada's wonderland by any chance? or its just a random wonderland.

ShawnjohnSJ

2012-05-22 20:18:32

Depends on what audience you're targeting. If you're releasing software to the general public, not everyone has a 64 bit PC so its best to create a 64 bit and 32 bit version.

If you're just creating it for yourself go with the 64 bit version.

zmon

2012-05-23 02:42:36

From: Le Jingle
quick question: I'm running on a windows 64 bit, would I download a windows 32 bit or windows 64 bit lazarus compiler?

I assume I can run either, but would one be more beneficial over the other?


also if you are using any 3rd party binaries, you should pay attention to what platform they are released for, because you cannot cross load 32 bit dlls from 64 bit space, it is physically impossible due to internal architecture of processor to co/host 32 and 64 bits in same address space, that's why the 32bit thunker is required to run any 32 bit executable on 64 bit system

same is true even with platform agnostic binaries, such as those you get from dot net if you compile for MSIL, if you have an MSIL executable and 32 bit dll, it will only work if run on 32bit platform, if you want to run on 64 you need to specify that it is 32bit executable

the same it true the other way, under no circumstances you can successfully load 64 bit dll into your program, if it runs as 32bit process, however, if the dll is MSIL, then it will load as 32bit and work ok.