Re: [hatari-devel] compiling with ahcc from Hatari and command line ? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
Hi,
On 10.9.2023 16.33, Nicolas Pomarède wrote:
I'd like to check a change in some program included in Hatari's test
directory.
.c files are compiled with ahcc and I wondered if there's a way to run
the compilation from linux through hatari using the .TTP binary maybe ?
for example I'd like to change/compile "scc_ser.c" from tests/serial and
it would be much faster if I could do it from my pc with command line
and not interacting with editor/menus.
Assuming AHCC, project file and sources are in same directory, you can
use something like this:
$ hatari-prg-args -m --cpulevel 3 --trace os_base -- ahcc_p.ttp mfp_ser.prj
(With AHCC ST version, you can "drop --cpulevel 3".)
- Eero