Difference between revisions of "Internal Linker"
From Lazarus wiki
Jump to navigationJump to search(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | |||
Good information about linkers and loaders can be found in the book Linkers and Loaders at http://www.iecc.com/linker/ | Good information about linkers and loaders can be found in the book Linkers and Loaders at http://www.iecc.com/linker/ | ||
Line 11: | Line 10: | ||
* Add optimizations for smartlinking | * Add optimizations for smartlinking | ||
* Add internal object format | * Add internal object format | ||
+ | * Keep an eye on memory usage and overall speed. | ||
+ | |||
+ | [[Category:FPC development]] |
Latest revision as of 22:55, 3 May 2013
Good information about linkers and loaders can be found in the book Linkers and Loaders at http://www.iecc.com/linker/
Steps
- Get familiar with the fpc sources
- Analyse what is available in the fpc sources. A couple of years ago a basic linker for go32v2 was already working.
- Start coding, the first thing to add is a scriptable memory/file layout, like the ld-scripts.
- Add PE coff support
- Add static ELF support
- Add shared ELF support
- Add optimizations for smartlinking
- Add internal object format
- Keep an eye on memory usage and overall speed.