www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12975] New: posix.mak should use isainfo on Solaris systems

https://issues.dlang.org/show_bug.cgi?id=12975

          Issue ID: 12975
           Summary: posix.mak should use isainfo on Solaris systems to
                    determine model
           Product: D
           Version: unspecified
          Hardware: x86
                OS: Solaris
            Status: NEW
          Severity: minor
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: jason.brian.king gmail.com
            Blocks: 8859

uname -m doesn't return useful information on Solarish systems (for example, on
this 64-bit vm, it returns 'i86pc' which is also the same value if it were a
32-bit vm).

The isainfo command will return amd64/i386 (for x86, sparc/sparcv9 if SPARC is
ever supported) depending on the host platform.

--
Jun 23 2014