mirror of
https://github.com/cc65/cc65.git
synced 2025-02-22 12:29:12 +00:00
Switch for vice label file has changed
git-svn-id: svn://svn.cc65.org/cc65/trunk@3687 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
97ef2980de
commit
b8935ba00b
@ -90,12 +90,12 @@ good idea to always use <tt/-g/. It makes the object files and libraries
|
|||||||
slightly larger (˜30%), but this is usually not a problem.
|
slightly larger (˜30%), but this is usually not a problem.
|
||||||
|
|
||||||
The second step is to tell the linker that it should generate a VICE label
|
The second step is to tell the linker that it should generate a VICE label
|
||||||
file. This is done by the <tt/-L/ switch followed by the name of the label
|
file. This is done by the <tt/-Ln/ switch followed by the name of the label
|
||||||
file (I'm usually using a <tt/.lbl/ extension for these files). An example for
|
file (I'm usually using a <tt/.lbl/ extension for these files). An example for
|
||||||
a linker command line would be:
|
a linker command line would be:
|
||||||
|
|
||||||
<tscreen><verb>
|
<tscreen><verb>
|
||||||
ld65 -t c64 -L hello.lbl -m hello.map -o hello crt0 hello.o c64.lib
|
ld65 -t c64 -Ln hello.lbl -m hello.map -o hello crt0 hello.o c64.lib
|
||||||
</verb></tscreen>
|
</verb></tscreen>
|
||||||
|
|
||||||
This will generate a file named hello.lbl that contains all symbols used in
|
This will generate a file named hello.lbl that contains all symbols used in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user