Does the DDK’s build environments pass preprocessor defines to code to specify x86/ia64/x64 for the code to use with #ifdef, etc.?
Does the DDK’s build environments pass preprocessor defines to code to specify x86/ia64/x64 for
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From what I’ve seen it does not.
However, when setting up your makefile, make
i385,amd64andia64directories and store your separate code files in those.Then, in your sources file, use the
I386_SOURCES=,AMD64_SOURCES=andIA64_SOURCES=vars, respectively, to specify the source files.This works with .asm files, and should work with all other .c files as well.