gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
gbdk-lib/examples/gb/linkerfile/Readme.md
1
2 # Example of how to use a linkerfile
3
4 A linkerfile allows storing all the object files to be linked in a
5 file which is passed to the linker instead of a list of filenames on
6 the command line. This may be useful if your project has filenames
7 that use up more length than will fit on the command line for Windows
8 (8191 chars max).
9
10 The typical extension for the linkerfile is ".lk".
11
12 It is passed to sdldgb through lcc using `-Wl-f<pathtolinkerfile>`
13 If calling sdldgb directly, use `-f<pathtolinkerfile>`
14
15 The Makefile is configured to store all the compiled ".o" object files
16 into `obj/linkerfile.lk`.
17
18
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.