Closed wilzbach closed 6 years ago
Comment author: Sohgo Takeuchi <sohgo@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.
Comment author: Sohgo Takeuchi <sohgo@sohgo.more.jp>
Added pull request: https://github.com/D-Programming-Language/tools/pull/179
Comment author: github-bugzilla@puremagic.com
Commit pushed to master at https://github.com/dlang/tools
https://github.com/dlang/tools/commit/6220f0a31d0934c0a8d87ff7650e209e29400e14 Merge pull request BZ#179 from sohgo/import-osmodel.mak
Issue 15282 - Import osmodel.mak from dmd to detect OS and MODEL
Comment author: github-bugzilla@puremagic.com
Commit pushed to newCTFE at https://github.com/dlang/tools
https://github.com/dlang/tools/commit/6220f0a31d0934c0a8d87ff7650e209e29400e14 Merge pull request BZ#179 from sohgo/import-osmodel.mak
Comment author: github-bugzilla@puremagic.com
Commit pushed to stable at https://github.com/dlang/tools
https://github.com/dlang/tools/commit/6220f0a31d0934c0a8d87ff7650e209e29400e14 Merge pull request BZ#179 from sohgo/import-osmodel.mak
Note: the issue was created automatically migrated from https://issues.dlang.org
Original bug ID: BZ#15282 From: Sohgo Takeuchi <sohgo@sohgo.more.jp> Reported version: D2 CC: @wilzbach