On Tue, 14 May 2019 at 17:05, ciel <cielarti...@gmail.com> wrote: > > Dear GCC team, > > I have succeeded to build gdc on macOS. I firstly submitted the patch > to https://github.com/Homebrew/homebrew-core/pull/39712 but I was > encouraged to submit to gcc team instead. So could you take a look at > it? >
Some of it looks on par with work I've already done on this port. I don't think that the sections/osx.d module is the right way to go, particularly if you want proper shared library support. As for the name of the section, this should be handled by a D language target hook. I'll post patches for this soon once the rough edges have been sorted out. Thanks, -- Iain