[Issue 15282] New: Import osmodel.mak from dmd to detect OS and MODEL
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Tue Nov  3 20:02:59 PST 2015
    
    
  
https://issues.dlang.org/show_bug.cgi?id=15282
          Issue ID: 15282
           Summary: Import osmodel.mak from dmd to detect OS and MODEL
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: tools
          Assignee: nobody at puremagic.com
          Reporter: sohgo at sohgo.more.jp
In order to compile the "tools" on a lot of operating systems, how about using
osmodel.mak used in dmd, phobos and druntime to detect the OS and MODEL.
I have noticed that the "tools" is not compilable on FreeBSD 10 (amd64)
environment. The osmodel.mak is nice, so I'd like to suggest to use
osmodel.mak.
I will submit a pull request. The code will be available on
https://github.com/sohgo/tools/tree/import-osmodel.mak. The branch name is
import-osmodel.mak.
Thanks.
--
    
    
More information about the Digitalmars-d-bugs
mailing list