Win64 for AMD64

This article applies to Windows only.

See also: Multiplatform Programming Guide

Obsolete

edit

November 2013: this page is obsolete; Windows x64 support has been implemented. This page is kept for historical reference only...

Status

edit

Compiling and building

edit

Compiling a program

edit

Win64 requires the usage of the internal linker of FPC so all programs must be compiled with -Xi.

Debugging and Profiling

edit

There is currently no full debugger support available, we're working on improving this situation. Basic debugging can be done so far with WinDBG http://www.microsoft.com/whdc/devtools/debugging/install64bit.mspx, the missing dwarf support of WinDBG makes things a little bit difficult though.

GDB for Win64 (beta version) is already available at http://sourceforge.net/project/showfiles.php?group_id=202880&package_id=259447

Todo

edit
  • add compiler target
  • adapt rtl units
  • adapt api units
  • adapt fcl
  • get lazarus working
  • get integrated debugger working

Technical information

edit

We're using our own assembler and linker to overcome the problem of the missing GNU Tools.

Information about the API etc. can be found at Win64/AMD64 API