Porting is process of adaptive software so that a program can be created for a computation. Porting is also used for software and hardware which are in different environments. Software is portable if cost of porting to new platform is less than starting from scratch. Portability in program is usable of same software in different environments.
There are following strategies for portability:
Translate a program to machine code we use compilers that translate the code into a intermediate level so the code is run on different environments. Those compilers are called Porting compliers.