Displaying 1 result from an estimated 1 matches for "u_xopen_source".
Did you mean:
_xopen_source
2008 May 30
1
[LLVMdev] Patches for Solaris on x86 solaris
...all it a "port". There
were two main issues that we ran into here:
1. The Solaris x86 ABI by default defines the x86 registers CS,
DS, ES, etc in the system headers, which clashes with their use in
LLVM. It is possible to exclude these defines with -
D_POSIX_C_SOURCE=199506L -U_XOPEN_SOURCE, which will compile LLVM
successfully, but unfortunately llvm-gcc-4.2 will not build with these
flags.
Possible solutions:
a. Add #undefs for all register names to the relevant header
files
b. Rename all clashing variable names in LLVM (some 950-odd
lines)
c. R...