Bug 15282 – Import osmodel.mak from dmd to detect OS and MODEL
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
tools
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-11-04T04:02:59Z
Last change time
2017-12-24T22:07:01Z
Keywords
pull
Assigned to
No Owner
Creator
Sohgo Takeuchi
Comments
Comment #0 by sohgo — 2015-11-04T04:02:59Z
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.