> but can't figure out how to use the above example crt0.s file with SDCC for a
> Z80 target. Using the --use-crt switch doesn't seem to work.
> unknown compiler option '--use-crt=crt0.s' ignored
Have a look here for an example of using a custom crt.s:
https://github.com/z88dk/z88dk/tree/master/libsrc/_DEVELOPMENT/EXAMPLES/benchmarks/dhrystone21/sdcc/verify
Read Winmake.bat to see how the program is compiled.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user