If you look in the lib/targets/arduino sub-directory of the Arduino application directory, you'll see the source code for the Arduino core. It needs to be modified to work with the ATtiny instead of the ATmega. It might actually require a few more changes for some of the ATtiny's, because they don't have any RAM.
What are you trying to do? Does it have to use an ATtiny?