Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Can anyone explain this compiler flag in Creo Toolkit Make File
MACH = -DPRO_MACHINE=36 -DPRO_OS=4 CCFLAGS = -c -GS -fp:precise -D_WSTDIO_DEFINED CFLAGS = $(CCFLAGS) $(INCS) $(MACH)
Why we defining DPRO_MACHINE = 36 & DPRO_OS=4 ?
Solved! Go to Solution.
Per my knowledge
DPRO_MACHINE = 36 is for X86E_WIN64
DPRO_OS = 4 is for WINDOWS
And those are used to set PreprocessorDefinitions.
FYI:
LINUX : 34
IA64_NT : 35
X86E_WIN64 : 36
X86E_LINUX64 : 37
APPLE_OSX : 38
/* Operating systems */
VMS_OS : 1
UNIX_OS : 3
WINDOWS_32 : 4
Hope that helps 🙂
Madhavi
Per my knowledge
DPRO_MACHINE = 36 is for X86E_WIN64
DPRO_OS = 4 is for WINDOWS
And those are used to set PreprocessorDefinitions.
FYI:
LINUX : 34
IA64_NT : 35
X86E_WIN64 : 36
X86E_LINUX64 : 37
APPLE_OSX : 38
/* Operating systems */
VMS_OS : 1
UNIX_OS : 3
WINDOWS_32 : 4
Hope that helps 🙂
Madhavi
Do you've any web link for that or any other material for that?
@PARTHIBAN_K Sorry I do not have any web link or seperate material for that.
It's something I came across/understood when I started working with Toolkit.