It's not that hard. Check out the Martin Melzer's Alya Project, which he did for backing up his digital camera pictures onto a small hard drive. He used one extra chip as well as the PIC, an FPGA (which you can see from the photos is slightly smaller than the PIC).
I'm not sure about the set of optimizations he uses for his "max-C" setting, which is supposedly GCC with all the optimization options enabled. For example, he uses -funroll-all-loops, but the info for GCC says:
`-funroll-all-loops' Perform the optimization of loop unrolling. This is done for all loops and usually makes programs run more slowly.
Likewise, he doesn't use the -fprofile-arcs or -fbranch-probabilities options which would probably speed up some of the code quite a bit, I would imagine.
Lev
Likewise, he doesn't use the -fprofile-arcs or -fbranch-probabilities options which would probably speed up some of the code quite a bit, I would imagine.