In this chapter I describe how to adapt the QF real-time framework to various processors, compilers, and operating systems, which is a process called porting. Porting QF is relatively easy because QF has been designed from the ground up to be portable. In particular, QF contains a clearly defined platform abstraction layer (PAL), which encapsulates all the platform-specific code and cleanly separates it from the platform-neutral code. Depending on the chosen RTOS/OS, the CPU architecture, and the compiler, porting QF might require writing or modifying between 5 and 100 lines of code within the PAL.