[cfe-dev] Compiling a simple Win32 program

Anton Korobeynikov anton at korobeynikov.info
Thu Jun 7 06:12:34 PDT 2012


> I forgot to handle the 64bit tool chain, hope this is the right approach.
1. Please follow LLVM style guidelines (no tabs, etc.)
2. Please use Support/Path library

> I'm also not sure what to do with the cross tools? Maybe a check if we're on
> a 32bit platform but targeting a 64bit one?
You should check & use target arch.

With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University

More information about the cfe-dev mailing list