[LLVMdev] Using llvm after make install
Chris Lattner
sabre at nondot.org
Wed Feb 8 11:36:21 PST 2006
On Wed, 8 Feb 2006, Martin [iso-8859-1] Pärtel wrote:
> Trying to #include a 'make install'-ed LLVM header gives the following error:
> #error "Must #define __STDC_LIMIT_MACROS before #including
> Support/DataTypes.h"
> How could I get past this?
>
> The documentation I've read so far seems to suggest that LLVM is meant to be
> used from inside its own source tree.
Add -D__STDC_LIMIT_MACROS to your GCC compile command, that should fix it.
> Does this mean that make install is not
> "officially" supported? Also, is LLVM going to be API-compatible between
> minor version number increments?
make install is lightly tested, but should work. Please report any
problems you find.
Thanks!
-Chris
--
http://nondot.org/sabre/
http://llvm.org/
More information about the llvm-dev
mailing list