IBM Support

How to use mlongcall while using PPC604 as the target.

Question & Answer


Question

How to use mlongcall while using PPC604 as the target.

Answer

To use mlongcall, add the switch to the makefile in the VxWorks_Ver\target\h\tool\gnu directory of VxWorks installation.

 

For example: make.ppc604gnu


Modify the the switch line:



    CC_ARCH_SPEC = -mstrict-align

    to

    CC_ARCH_SPEC = -mstrict-align -mlongcall

 

Then rebuild the framework.

The compiler switch mlongcall is used to reduce the size of the executable generated.
With the above changes, the generated executable size would be small compared to earlier.

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"7.5","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

11493

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21324215