Re: [hatari-devel] Questions related on the Hatari tools |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
Hi,
On 5/17/20 1:43 PM, benoît tuduri wrote:
I don't understand how use the following tools:
- ahcc-symbols-convert.sh
- devpac3-symbols-convert.sh
- dsp-lod-symbols-convert.sh
- nm-symbols-cleanup.sh
- hatari_spinloop.py
I documented briefly what they do to Git:
https://git.tuxfamily.org/hatari/hatari.git/tree/tools/debugger/README.txt
For the first ahcc-symbols-convert.sh, what's linker -p ?
"-p" is AHCC linker option. [1]
these tools are great, but I need to assistance to understand their
usage in details.
They're useful only in very special circumstances,
that's why Hatari doesn't install them, like it
does for gst2ascii and hatari_profiler post-
processor.
- Eero
[1] AHCC.STG document "Linker usage" section:
------------------------------------------
@node "Linker usage"
@alias linker_options
Invocation:
AHCL.TTP [options] inputfilename ...
Commandline parameters for AHCL:
-v Verbose
-j Collect (make new Pure C format object)
-n Write 'nm' type symbol list to [-o].sym
-p Write load map to [-o].map
-o... Output file name
-c... Name of text file holding list of input filenames
Options for executable output:
-sN Stack size, where N is a number less than 0xffffff
-g Add symbol table with global symbols
-l Add local symbols additional to -g
Set load flags:
-m Mallocs for TT ram
-f Dont set 'Fast load' bit
-r Load in TT ram
Followed by:
list of input filenames additional to -c
A example .PRJ file for AHCC_P.TTP
menu_1.ttp
..L [-vpg] ; linker options (same as commandline version)
=
menu_1.o
gfa3blib.lib
------------------------------------------