Ok, just wanted to thank you for your answers and let you know that i'm new being able to compile my modules.
I downloaded and installed Sun Studio 11 and followed the "compilation approach" i outlined above, except for an additional step: I edit the Makefile produced when executing the Makefile.PL and point the CC variable to my Studio 11 cc.