One of the Arduino compatible versions is Arduino NG with ATmega8 with an external X-tal at 16MHz.
That is not the ATmega8L at 8MHz.
So the easiest way is to use the ATmega8, and add a 16MHz X-tal with two 22pf capacitors.
The Arduino IDE can upload the bootloader (it will also set the appropriate fuses when uploading the bootloader).
You will need a programmer. An Arduino board can be used as programmer (Arduino as ISP) or you can buy a USBasp programmer.
Take a look at these pages:
http://arduino.cc/en/Main/Standalone
http://playground.arduino.cc/Learning/AtmegaStandalone
http://www.gammon.com.au/forum/?id=11637
http://www.gammon.com.au/forum/?id=11635