QUOTE(qx773 @ Oct 15 2005, 10:06 PM)
Perhaps you could try the C compiler options -O2 -s to make the compiler perform some optimizations, but not too much, and strip debugging information from the output executable program to make it smaller. Higher levels of optimization can actually cause a program to run slower by increasing the program size, due to loop unrolling, function inlining, and other size-increasing optimizations, causing code to overflow the instruction cache. I am not sure if -s will have any effect on the execution speed, but it will at least make the executable program occupy less disk space / flash memory space.
Thanks for the tips.
I compiled it originally at -O2, so I ratcheted it up a bit to -O5, but that was too much, so I dropped it back down to -O3, which seemed to work a little bit better but not much. That -s really helped shrink the ipk too. Thanks
Unfortunately I don't think VICE is ever going to run full speed on the SL-C3000. Commodore 64 emulators require a lot of horsepower to get the video timings exact, and unfortunately I think a StrongArm is required, rather than a 416Mhz xscale - already burdened with Qtopia and X/Qt