Win64 for AMD64

From Lazarus-ccr

Jump to: navigation, search

Contents

[edit] Status

[edit] Compiling and building

[edit] Compiling a program

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

[edit] 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

[edit] Todo

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

[edit] 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