Re: Unable to compile gdc with gcc 4.8.2 on OSX 10.8.5

2013-11-01 Thread kahuna
On Friday, 1 November 2013 at 10:03:42 UTC, Joseph Rushton Wakeling wrote: On Friday, 1 November 2013 at 07:51:09 UTC, kahuna wrote: I have tried to compile branch v1.x with gcc-4.7.3 and although I get no error on thread.d (I get some bad references to direct d_name.ptr, fixed removing .ptr) b

Re: Unable to compile gdc with gcc 4.8.2 on OSX 10.8.5

2013-11-01 Thread kahuna
On Friday, 1 November 2013 at 10:03:42 UTC, Joseph Rushton Wakeling wrote: On Friday, 1 November 2013 at 07:51:09 UTC, kahuna wrote: I have tried to compile branch v1.x with gcc-4.7.3 and although I get no error on thread.d (I get some bad references to direct d_name.ptr, fixed removing .ptr) b

Re: Building GDC

2013-11-01 Thread Iain Buclaw
On 31 October 2013 18:38, Steve Teale wrote: > On Thursday, 31 October 2013 at 17:33:52 UTC, Steve Teale wrote: > >> Mea Culpa. >> >> In attempting to install the prerequisites >> >> libmpc-dev >> libmpfr-dev >> libgmp3-dev >> >> I ended up building from the source code for these projects. >> >>

Re: Building GDC

2013-11-01 Thread Joseph Rushton Wakeling
On 31/10/13 19:38, Steve Teale wrote: My recipe can be found at britseyeview.com/software/buildGDC.txt I hope this will save others some grief. Nice writeup! :-) One thing -- about tweaking the PATH variable -- I find it useful to have a little script for this, /etc/profile.d/opt.sh : for

Re: Unable to compile gdc with gcc 4.8.2 on OSX 10.8.5

2013-11-01 Thread Joseph Rushton Wakeling
On Friday, 1 November 2013 at 07:51:09 UTC, kahuna wrote: I have tried to compile branch v1.x with gcc-4.7.3 and although I get no error on thread.d (I get some bad references to direct d_name.ptr, fixed removing .ptr) but I get the same undefined symbols when compiling with gdc, so I understan

Re: Unable to compile gdc with gcc 4.8.2 on OSX 10.8.5

2013-11-01 Thread kahuna
On Friday, 1 November 2013 at 06:08:53 UTC, kahuna wrote: I've been unable to compile gcc patches to gcc-4.8 on OSX, I get an error in thread.d, an assert "Not implemented", it seems that it is not getting the right version while compiling initStack() and fiber_entryPoint(), if I comment out bo