Good morning,
Arduino is Avr mcpu , sparc is a complete different architecture. Arduino IDE compiles avr binaries, upload them helped by an avr bootloader and use a C-like non standard language that's uses the avr API.
So, in theory you need a complete new bootloader for your leon and a completely porting of arduino language, it's faster to programed it with standard C out of arduino IDE because this way is very difficult and you will need time for implementation.