[LLVMdev] Compiling llvm and Clang in solaris 10

Jakob Stoklund Olesen stoklund at 2pi.dk
Mon Jun 24 16:41:05 PDT 2013


On Jun 24, 2013, at 4:18 PM, Stefan Teleman <stefan.teleman at gmail.com> wrote:

> I'll file the bug about the endian stuff, but we'll also have to have
> an <endian.h> in Solaris as well.

Do you still have issues after r182419?

commit 01ef4f6982451e6a7c00a713d9ae677d3a15d042
Author: Jakob Stoklund Olesen <stoklund at 2pi.dk>
Date:   Tue May 21 13:36:13 2013

    Define BYTE_ORDER on Solaris.
    
    Solaris doesn't have an endian.h header, but SPARC is the only
    big-endian architecture that runs Solaris, so just use that to detect
    endianness at compile time.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182419 91177308-0d34-0410-b5e6-96231b3b80d8

Thanks,
/jakob



More information about the llvm-dev mailing list