I am trying to program a cc2530 mcu, all the example software and libraries are provided for IAR, but since I am on ubuntu, I am unable to use it, I have installed sdcc but I am still unclear as to how should I go about debugging codes and where can I get hardware abstraction libraries and linker script.
One simple solutions would be to download and configure Eclipse CDT for Ubuntu. Last year I was able to configure a Eclipse to do embedded development for TIVA TM4C123 ARM Cortex M4 processor. I used Open On-Chip Debugging called openocd. To a large extend you will be doing some ground breaking work. Communities like Embedded Systems and Electronic SE are here to help you. When you are successful post the steps so other could benefit. Below are some references that might help you. Good luck.