1 / 8

Porting Software

Porting Software. by Thomas Himel. What is Porting?. When software is developed, it is intended to execute in a specific computing environment. Porting is adapting software to execute in a new environment. Different Environments. CPU Architecture x86, ARM, Cell Operating System

glenda
Télécharger la présentation

Porting Software

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Porting Software by Thomas Himel

  2. What is Porting? • When software is developed, it is intended to execute in a specific computing environment. • Porting is adapting software to execute in a new environment.

  3. Different Environments • CPU Architecture • x86, ARM, Cell • Operating System • Windows, Linux, Android • Compiler, loader, preprocessor

  4. Portability • Software is portable when the cost of porting it is less than the cost of rewriting it from scratch. • System standards make software more portable. • Desktop systems mostly use x86 CPU and Windows, OS X, or Linux operating system.

  5. Portability (contd.) • Abstraction in code development • Compliance with international standards • Usually sacrifice optimization for target system

  6. Software Modification • Software usually needs be adapted to run correctly on the target platform. • Common modifications: • Libraries or OS functions not available on target platform • Different paths and invalid file naming conventions • Different methods of storing values

  7. Software Modification (contd.) • Third-party tools automatically solve some porting issues. • High-level compilers output source code in C or C++. • Autotools reconfigures code to adapt to Unix-based systems.

  8. END

More Related