Developing portable software



Download 370.21 Kb.
View original pdf
Page13/31
Date25.01.2021
Size370.21 Kb.
#55683
1   ...   9   10   11   12   13   14   15   16   ...   31
Mooney2004 Chapter DevelopingPortableSoftware (1)
5.4.1
Standard Languages
5.4.2
Porting the Compiler


Developing Portable Software
69
It is actually misleading to speak of porting the compiler the essential requirement is to retarget the compiler. The compiler’s back end must be modified to generate code for the new machine. Many compilers are designed to make this type of adaptation relatively easy. The retargeted compiler may also be ported to the new environment, but it does not actually matter on which system it runs.
In some cases the compiler is a commercial product, not designed to allow adaptation by its users. In this case we must rely on the vendor to do the retargeting, or else this strategy is unavailable. Many open source compilers, such as the GNU compilers, are designed for easy retargeting.

Download 370.21 Kb.

Share with your friends:
1   ...   9   10   11   12   13   14   15   16   ...   31




The database is protected by copyright ©ininet.org 2024
send message

    Main page