[cfe-dev] -ccc-host-triple x86_64-pc-win32-macho and diagnostic output changes.

Andrew Fish andrew.fish at me.com
Tue Apr 19 13:45:50 PDT 2011


I'd like to set the output of the diagnostic messages to -fshow-column format for our triple, x86_64-pc-win32-macho, since we cross compile not on Windows. It looks like x86_64-pc-win32-macho triple converts the diagnostic format  from BootModePei.c:27:10 to BootModePei.c(27).

Can some one give me a pointer as to where in the code base to find this, so I can fix it? 

Example:

clang /Users/fish/work/edk2/InOsEmuPkg/BootModePei/BootModePei.c
/Users/fish/work/edk2/InOsEmuPkg/BootModePei/BootModePei.c:27:10: fatal error: 'PiPei.h' file not found
#include <PiPei.h>
         ^
1 error generated.

vs

clang -ccc-host-triple x86_64-pc-win32-macho  /Users/fish/work/edk2/InOsEmuPkg/BootModePei/BootModePei.c
/Users/fish/work/edk2/InOsEmuPkg/BootModePei/BootModePei.c(27) :  fatal error: 'PiPei.h' file not found
#include <PiPei.h>
         ^
1 error generated.





More information about the cfe-dev mailing list