[llvm-commits] PATCH: llvm-gcc in SPARC

Anton Korobeynikov anton at korobeynikov.info
Wed Aug 26 11:29:21 PDT 2009


Hello Venkatraman,

> Although sparc's long double is 128 bit, neither llvm-gcc (see
> llvm-types.cpp)
It does support. I just committed fixes there. You only need to enable
it for sparc.

> This script generates the options.h which is included in
> gcc/config/sparc/gmon-sol2.h through tm.h. However when gmon-sol2.h
> compiles as part of gcc, HOST_BITS_PER_INT is not defined. However
> HOST_BITS_PER_INT is used in options.h to explicitly pad a struct.
> If there is a better way to fix this, let me know.
Well, the proper solution is to find where this define is added and
try to figure out how to include the file in question, I suppose.

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



More information about the llvm-commits mailing list