I am working on an embedded system project which requires converting an existing embedded C code (using RTOS) to a portable code. The project is currently in analysis phase.
As I am quite new to this field, so I would like to clarify few basic things about portability,
What does a portable code signify in general sense.
Does the portable code mean a 100% platform independent code that should work on any hardware + OS combination?
Does this mean a code that works on a specific set of OS and hardware.?
Does the portable code need to be compiled differently to work on different OS?
What is the standard approach followed to convert a code into platform independent code?
Any suggestions/information will be of great help.
Thanks & Regards,