mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-12-23 18:31:08 +00:00
faster, better C compile flags for SDCC
This commit is contained in:
parent
7b30bb74e6
commit
fb418daf3d
@ -79,6 +79,7 @@ TODO:
|
||||
- show player controls for each platform, allow touch support
|
||||
- granular control over time scrubbing, show CPU state
|
||||
- error showing replay div before rom starts
|
||||
- compiler flags for final ROM build
|
||||
|
||||
|
||||
WEB WORKER FORMAT
|
||||
|
@ -1130,16 +1130,25 @@ function compileSDCC(step:BuildStep) {
|
||||
setupStdin(FS, code);
|
||||
setupFS(FS, 'sdcc');
|
||||
var args = ['--vc', '--std-sdcc99', '-mz80', //'-Wall',
|
||||
'--c1mode', // '--debug',
|
||||
'--c1mode',
|
||||
//'--debug',
|
||||
//'-S', 'main.c',
|
||||
//'--asm=sdasz80',
|
||||
//'--reserve-regs-iy',
|
||||
'--less-pedantic',
|
||||
///'--fomit-frame-pointer',
|
||||
'--opt-code-speed',
|
||||
//'--oldralloc', // TODO: does this make it fater?
|
||||
'--oldralloc',
|
||||
//'--cyclomatic',
|
||||
//'--nooverlay','--nogcse','--nolabelopt','--noinvariant','--noinduction','--nojtbound','--noloopreverse','--no-peep','--nolospre',
|
||||
//'--nooverlay',
|
||||
//'--nogcse',
|
||||
//'--nolabelopt',
|
||||
//'--noinvariant',
|
||||
//'--noinduction',
|
||||
//'--nojtbound',
|
||||
//'--noloopreverse',
|
||||
'--no-peep',
|
||||
'--nolospre',
|
||||
'-o', outpath];
|
||||
if (params.extra_compile_args) {
|
||||
args.push.apply(args, params.extra_compile_args);
|
||||
|
Loading…
Reference in New Issue
Block a user