Programming ATMega32A surface mount using USBasp

I am having trouble with finding reliable information on programming an ATmega32A using arduino and the USBasp. I know that I need to download the pins.h file for the ATmega32 as well as the correct boards but even when I do that it still does not compile correctly. Any assistance on this matter would be greatly appreciated.

http://www.atmel.com/images/atmel-8155-8-bit-microcontroller-avr-atmega32a_datasheet.pdf

but even when I do that it still does not compile correctly.

What doesn't compile correctly? For what definition of correctly?

PaulS:
What doesn't compile correctly? For what definition of correctly?

The farthest I have gotten was it compiling but then receive the error message "blank whitespace" or I get a core error that its not updated even though I just got the most updated version

dweck:
I know that I need to download the pins.h file for the ATmega32 as well as the correct boards

Where did you download them from?

dweck:
then receive the error message "blank whitespace" or I get a core error that its not updated even though I just got the most updated version

Post the entire error using code tags(</> button).