[cfe-dev] clang doesn't know about it's installation prefix when searching header files
Holger Schurig
hs4233 at mail.mn-solutions.de
Sun Jun 1 23:47:18 PDT 2008
> "GetMainExecutable" is a tricky function to implement in
> cross-platform way. The standard Linux method is to resolve
> symlink /proc/self/exe. On Windows, you call
> GetModuleFileName. See http://autopackage.org/docs/binreloc/
> for extensive discussion.
Good hint.
I know that gcc-crosscompiler toolchains (a.g. arm-linux-gcc)
needed to be at an absolute position for a long time (at least
2.95, 3.3.4, 3.4.3). So I want clang to be better here.
More information about the cfe-dev
mailing list