using arduino for atmega8535

The reason im asking this is because all the arduino boards have specific pin mapping so how am i supposed to use arduino for atmega8535

What makes you think that you even can? There is a reason particular chips are used and supported. Off that path, you are pretty much on your own.