Displaying 2 results from an estimated 2 matches for "r80072".
Did you mean:
r80071
2009 Aug 25
0
[LLVMdev] Patch: Compiling LLVM in Sparc
Hi Venkatraman,
> The current version in SVN fails to compile in sparc machines since
> gcc defines "sparc" as a macro in sparc machines that expands to 1
> (see below) but Triple.h defines "sparc" as a enum constant.
>
> $ cpp -dM /dev/null | grep sparc
> #define sparc 1
> #define __sparc__ 1
> #define __sparc 1
>
> The attached patch
2009 Aug 25
3
[LLVMdev] Patch: Compiling LLVM in Sparc
Hello,
The current version in SVN fails to compile in sparc machines since
gcc defines "sparc" as a macro in sparc machines that expands to 1
(see below) but Triple.h defines "sparc" as a enum constant.
$ cpp -dM /dev/null | grep sparc
#define sparc 1
#define __sparc__ 1
#define __sparc 1
The attached patch fixes this problem by renaming sparc to sparc_.
Thanks,