Win64 for AMD64

From Lazarus wiki
Jump to: navigation, search
Windows logo - 2012.svg

This article applies to Windows only.

See also: Multiplatform Programming Guide

Obsolete

Warning-icon.png

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

Status

Compiling and building

Compiling a program

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

Debugging and Profiling

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

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

Technical information

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