I'm compiling the Petit FatFs source (attached) with the following command:
sdcc -mz80 --data-loc 0xC001 --no-std-crt0 --no-peep --code-loc 0x8000 pff.c
My SDCC version is:
mcs51/gbz80/z80/z180/ds390/pic16/pic14/TININative/ds400/hc08 3.0.5 #6899
(Oct 2 2011) (MINGW32)
The problem is that compiling this particular file takes several minutes on a 2 GHz Core2 T7200 (running 32-bit XP SP2), which seems absurd considering that it's only ~1000 lines of code + a couple of 100 lines worth of header files. I have other source code files about the same size that compile in a few seconds with the same version of SDCC on the same computer.
Log in to post a comment.