If you would have used any OS specific calls then in porting you need to change it.
Raghu
Raghu is right , But you have to change your code if it's compiler specific . Likewise , CC and Gcc Compiler in Linux . You find some changes in Input / Output stream , dynamically handling char array, and basic data type .
Regards,
Kiran Parmar