Make File Compiler Flag explanation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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 ?
href="https://www.linkedin.com/in/parthiban-kannan/" target="_blank"
Solved! Go to Solution.
- Labels:
-
General
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Do you've any web link for that or any other material for that?
href="https://www.linkedin.com/in/parthiban-kannan/" target="_blank"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@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.