Forum > General

x64 fpc 3.0.0 ?

(1/2) > >>

Is there clean x86_64 windows version of fpc.3.0.0 ?! I see only i386 + cross compile  :-\

Jonas Maebe:
No, there is no such version. The reasons include

* there is no advantage to have an x86_64 compiler binary over an i386 one: it's not much if any faster, and uses a lot more memory
* it costs extra release engineering effort to provide both an x86_64 and i386 binary
* it's harder to support both, because it's always possible that a problem only occurs in the x86_64 compiler binary but not in the i386 one, or vice versa (so you have to get people to figure out which compiler binary they have and include this information in their bug reports)

I never trusted cross compile, but ... if you say so, I'll change my scripts to cross compile and will see, if there is no other way.


--- Quote from: Jonas Maebe on December 01, 2015, 10:41:20 am ---No, there is no such version. The reasons include

--- End quote ---

Just curious, why there are x64 fpc 3.0.0 rpm packages under Linux?

Best regards

Because these happen to be maintained by a release engineer. This follows form the above.

If you really want an FPC X86_64 including textmode IDE I do it like this:
- First make sure you have the cross compiler (pprcrossx64.exe) and the x86_64-win64 units installed
- Then type something like this:

make clean all install OS_TARGET=win64 CPU_TARGET=x86_64 IDE=1 FPC=<the\path\to\your\ppcrossx64.exe> OVERRIDEVERSIONCHECK=1 NOGDB=1

If all goes to plan you have a \pp\bin\x86_64-win64\ directory that contains amongst others ppcx64.exe and an fp.exe that is 64bit but without debugging. This is from memory so maybe you have to tweak it just a little.

BTW I am willing to provide X86_64 native binaries for Windows to the community since I build them very regularly based on fixes and daily based on trunk. I only do not know what is otherwise expected from me in that case..
And to make Jonas happy I include the last SVN revision from which it is build  in the executables, so they are easily recognisable when there is something wrong.


[0] Message Index

[#] Next page

Go to full version