IBM Support

Rebuilding the framework for vxworks using the gnu or diab.

Question & Answer


Question

Rebuilding the framework for vxworks using the gnu or diab.

Answer

Use the following batch file to rebuild the framework for gnu/diab.
 
Note that the default vxbuild.mak probably needs a few adjustments before attempting to rebuild.
 
MAKE=make
CPU=PENTIUM
VX_VER=5.5
ifeq ($(VX_VER),5.5)
TOOL=gnu
LIB_SUFFIX=
OM_OPT_LEVEL="-O0 -g"
else
TOOL=diab
LIB_SUFFIX=diab
OM_OPT_LEVEL="-g -DOM_NO_RCS_ID"
endif
 
To use VxSim for example, this needs changing to use CPU = SIMNT and note the VXVersion. It's set to 5.5
 
So if you wish to build the framework for DIAB you will have problems since it will ALWAYS build the gnu. To avoid this,
change the VX_VER=6.2 for example or remove the flag. Then run the framework build commands below (make sure your
.mak name is correct):
 
rem rebuilding all VxWorks 6.2 libraries
set PATH=c:\windriver\;%path%
set TOOL_FAMILY=diab
wrenv -p vxworks-6.2 make -i -s CPU=PPC860 BUILD=Debug TOOL=sfdiab PATH_SEP=\\ all -f vx62build.mak
wrenv -p vxworks-6.2 make -i -s CPU=PPC860 BUILD=Release TOOL=sfdiab PATH_SEP=\\ all -f vx62build.mak
wrenv -p vxworks-6.2 make -i -s CPU=PPC603 BUILD=Debug TOOL=diab PATH_SEP=\\ all -f vx62build.mak
wrenv -p vxworks-6.2 make -i -s CPU=PPC603 BUILD=Release TOOL=diab PATH_SEP=\\ all -f vx62build.mak
wrenv -p vxworks-6.2 make -i -s CPU=SIMNT BUILD=Debug TOOL=diab PATH_SEP=\\ all -f vx62build.mak
wrenv -p vxworks-6.2 make -i -s CPU=SIMNT BUILD=Release TOOL=diab PATH_SEP=\\ all -f vx62build.mak
set TOOL_FAMILY=gnu
wrenv -p vxworks-6.2 make -i -s CPU=PPC860 BUILD=Debug TOOL=sfgnu PATH_SEP=\\ all -f vx62build.mak
wrenv -p vxworks-6.2 make -i -s CPU=PPC860 BUILD=Release TOOL=sfgnu PATH_SEP=\\ all -f vx62build.mak
wrenv -p vxworks-6.2 make -i -s CPU=PPC603 BUILD=Debug TOOL=gnu PATH_SEP=\\ all -f vx62build.mak
wrenv -p vxworks-6.2 make -i -s CPU=PPC603 BUILD=Release TOOL=gnu PATH_SEP=\\ all -f vx62build.mak
wrenv -p vxworks-6.2 make -i -s CPU=SIMNT BUILD=Debug TOOL=gnu PATH_SEP=\\ all -f vx62build.mak wrenv -p vxworks-6.2 make -i -s CPU=SIMNT BUILD=Release TOOL=gnu PATH_SEP=\\ all -f vx62build.mak
pause
 
1550AnswerProduct versionPartner ContentInternal ContentCategoryReference ID

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

Historical Number

10486

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21323755