From ibuclaw at gdcproject.org Sun Nov 29 12:19:07 2020 From: ibuclaw at gdcproject.org (Iain Buclaw) Date: Sun, 29 Nov 2020 12:19:07 +0000 Subject: ddmd gdc In-Reply-To: References: Message-ID: On Wednesday, 21 October 2020 at 15:47:58 UTC, Ola Fosheim Gr?stad wrote: > On Wednesday, 21 October 2020 at 11:57:33 UTC, Jacob Carlborg > wrote: >> On Tuesday, 20 October 2020 at 15:35:52 UTC, Ola Fosheim >> Gr?stad wrote: >> >>> Building all of gcc in OS-X is rather massive. Is there a way >>> to only build gdc? I gave "configure" the option >>> --enable-languages=d, but gcc10 seems to build all of gcc and >>> g++ as well. >> >> How will you compile the C code, pre-compiled GCC? I'm >> guessing it's best to use the same compiler. > > I have macports. GCC seems to have a 3 stage boostrapping > process? There seems to be a flag for disabling it > "-disable-bootstrap". I guess I could try that. Hi, Sorry, I've only just seen this. OSX port of gdc is being worked on, it's not so trivial to get set-up, as the last supported version of gcc on OSX is 4.2, and the current release of gcc depends on version 5 or newer. There's a gcc-7.2 bootstrap tarball, but the library needs a little more testing. Iain. From ola.fosheim.grostad at gmail.com Sun Nov 29 18:13:40 2020 From: ola.fosheim.grostad at gmail.com (Ola Fosheim Grostad) Date: Sun, 29 Nov 2020 18:13:40 +0000 Subject: ddmd gdc In-Reply-To: References: Message-ID: On Sunday, 29 November 2020 at 12:19:07 UTC, Iain Buclaw wrote: > Sorry, I've only just seen this. OSX port of gdc is being > worked on, it's not so trivial to get set-up, as the last > supported version of gcc on OSX is 4.2, and the current release > of gcc depends on version 5 or newer. Alright, I'll probably fool around with ldc for now, and look at gdc again at the end of next month. You've been very helpful, thank you. :)