> [snip] >> Nope - still have the same problem with cpu_accel.c > >> g++ -fPIC -g -Os -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"analogtv"' >> -DHAVE_FAST_MEMCPY -DNEED_OWN_SIP -I../../../include cpu_accel.c >> cpu_accel.c: In function 'uint32_t mm_accel()': >> cpu_accel.c:76: error: can't find a register in class 'BREG' while >> reloading 'asm' > [snip] > >> Any other ideas??? > > Drop -g? Presuming i386, drop -fPIC? dropping -g & -fPIC allows the above commandline to work, but despite trying I'm having no luck modifying the Makefile to do it during the make. This includes your previous suggestion 'cpu_accel.o: override CXXFLAGS=$(shell echo "$(CXXFLAGS)" | sed s/-O[0-9]/-Os/g)' No matter where I put this in the Makefile, I can't get the 'make' to 'sed' the -O2 to -Os. I'm not familiar with the 'override' and can't get it to work. Where would I put - 'cpu_accel.o: override CXXFLAGS=$(shell echo "$(CXXFLAGS)" | sed s/-fPIC\ -g\ //g)' Simon