Is there a compatibility mode for gcc which will translate the register names for the 0-th serial port to their older names (without the 0) or vice-versa? I think this would be helpful when writing serial port routines which could be used with either the atmega8 or atmega48, for instance.
Or, is there another good solution to this problem? It seems a waste to have to maintain two different code bases just because of a systematic naming difference.