cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Make File Compiler Flag explanation

PARTHIBAN_K
15-Moonstone

Make File Compiler Flag explanation

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 ?

Parthiban Kannan

href="https://www.linkedin.com/in/parthiban-kannan/" target="_blank"
1 ACCEPTED SOLUTION

Accepted Solutions

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 

View solution in original post

3 REPLIES 3

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 

PARTHIBAN_K
15-Moonstone
(To:Madhavi)

Do you've any web link for that or any other material for that?

Parthiban Kannan

href="https://www.linkedin.com/in/parthiban-kannan/" target="_blank"

@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.

Top Tags