Displaying 3 results from an estimated 3 matches for "sparc_".
Did you mean:
sparc
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,
Venkatraman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-compile-in-sparc.patch
Type: application/octet-stream
Size: 4049 bytes
Desc: not available
URL: &l...
2009 Aug 25
0
[LLVMdev] Patch: Compiling LLVM in Sparc
...nt 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_.
the same thing happens with mips: "mips" is defined to be a numerical
value on mips machines, and this breaks Triple.h.
Ciao,
Duncan.
2009 Aug 25
4
[LLVMdev] Patch: Compiling LLVM in Sparc
...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_.
>
> the same thing happens with mips: "mips" is defined to be a numerical
> value on mips machines, and this breaks Triple.h.
>
> Ciao,
>
> Duncan.
>...