Thread overview
gcc 4.8 snapshot
Mar 08, 2013
John Colvin
Mar 08, 2013
Iain Buclaw
Mar 10, 2013
John Colvin
Mar 11, 2013
Iain Buclaw
Mar 11, 2013
Iain Buclaw
Mar 11, 2013
John Colvin
March 08, 2013
Is there any way of knowing the correct snapshot to compile with at any given time? It's a pretty lengthy trial and error process to find out....
March 08, 2013
On 8 March 2013 18:37, John Colvin <john.loughran.colvin@gmail.com> wrote:

> Is there any way of knowing the correct snapshot to compile with at any given time? It's a pretty lengthy trial and error process to find out....
>

I normally update my gcc snapshot once every fortnight.  If there's any compilation issues let me know.  But I hardly run into any, if at all...

-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';


March 09, 2013
On 03/08/2013 07:37 PM, John Colvin wrote:
> Is there any way of knowing the correct snapshot to compile with at any given
> time? It's a pretty lengthy trial and error process to find out....

Personally I just use whatever is the current gcc-snapshot package in Ubuntu/Debian, which has always worked for me, but YMMV (and that assumes you use Debian/Ubuntu or that your OS has an equivalent package).
March 10, 2013
On Friday, 8 March 2013 at 18:45:12 UTC, Iain Buclaw wrote:
> On 8 March 2013 18:37, John Colvin <john.loughran.colvin@gmail.com> wrote:
>
>> Is there any way of knowing the correct snapshot to compile with at any
>> given time? It's a pretty lengthy trial and error process to find out....
>>
>
> I normally update my gcc snapshot once every fortnight.  If there's any
> compilation issues let me know.  But I hardly run into any, if at all...

I downloaded the most recent snapshot (03/03) and gave compiling a go. After fiddling around getting mpc mpfr and gmp3 recognised, I ran in to this:

In file included from /Users/johncolvin/Git/gdc/gcc_for_gdc/gcc/d/dfrontend/mars.c:109:0:
d/verstr.h: In constructor ‘Global::Global()’:
d/verstr.h:1:2: error: ‘n’ was not declared in this scope
 -n "2.062"
  ^
d/verstr.h:1:4: error: expected ‘;’ before string constant
 -n "2.062"
    ^

This is on OS X 10.7, patch 2.5.8, gmp 5.0.5, mpfr 3.1.1, mpc 1.0.1, GNU Autoconf 2.69, GNU automake 1.13.1, flex 2.5.37, GNU Bison 2.7, GNU patch 2.7.1, gcc/++ 4.7.2
March 11, 2013
On Mar 10, 2013 11:41 PM, "John Colvin" <john.loughran.colvin@gmail.com> wrote:
>
> On Friday, 8 March 2013 at 18:45:12 UTC, Iain Buclaw wrote:
>>
>> On 8 March 2013 18:37, John Colvin <john.loughran.colvin@gmail.com>
wrote:
>>
>>> Is there any way of knowing the correct snapshot to compile with at any given time? It's a pretty lengthy trial and error process to find
out....
>>>
>>
>> I normally update my gcc snapshot once every fortnight.  If there's any compilation issues let me know.  But I hardly run into any, if at all...
>
>
> I downloaded the most recent snapshot (03/03) and gave compiling a go.
After fiddling around getting mpc mpfr and gmp3 recognised, I ran in to this:
>
> In file included from
/Users/johncolvin/Git/gdc/gcc_for_gdc/gcc/d/dfrontend/mars.c:109:0:
> d/verstr.h: In constructor ‘Global::Global()’:
> d/verstr.h:1:2: error: ‘n’ was not declared in this scope
>  -n "2.062"
>   ^
> d/verstr.h:1:4: error: expected ‘;’ before string constant
>  -n "2.062"
>     ^
>
> This is on OS X 10.7, patch 2.5.8, gmp 5.0.5, mpfr 3.1.1, mpc 1.0.1, GNU
Autoconf 2.69, GNU automake 1.13.1, flex 2.5.37, GNU Bison 2.7, GNU patch 2.7.1, gcc/++ 4.7.2

I guess that would be stupid OSX doesn't have an  -n switch for echo.

Feel free to send a patched Make-lang.in file. But I have an idea of what instead to use.

Regards
-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';


March 11, 2013
On 11 March 2013 08:36, Iain Buclaw <ibuclaw@ubuntu.com> wrote:

>
> On Mar 10, 2013 11:41 PM, "John Colvin" <john.loughran.colvin@gmail.com> wrote:
> >
> > On Friday, 8 March 2013 at 18:45:12 UTC, Iain Buclaw wrote:
> >>
> >> On 8 March 2013 18:37, John Colvin <john.loughran.colvin@gmail.com>
> wrote:
> >>
> >>> Is there any way of knowing the correct snapshot to compile with at any given time? It's a pretty lengthy trial and error process to find
> out....
> >>>
> >>
> >> I normally update my gcc snapshot once every fortnight.  If there's any compilation issues let me know.  But I hardly run into any, if at all...
> >
> >
> > I downloaded the most recent snapshot (03/03) and gave compiling a go.
> After fiddling around getting mpc mpfr and gmp3 recognised, I ran in to this:
> >
> > In file included from
> /Users/johncolvin/Git/gdc/gcc_for_gdc/gcc/d/dfrontend/mars.c:109:0:
> > d/verstr.h: In constructor ‘Global::Global()’:
> > d/verstr.h:1:2: error: ‘n’ was not declared in this scope
> >  -n "2.062"
> >   ^
> > d/verstr.h:1:4: error: expected ‘;’ before string constant
> >  -n "2.062"
> >     ^
> >
> > This is on OS X 10.7, patch 2.5.8, gmp 5.0.5, mpfr 3.1.1, mpc 1.0.1, GNU
> Autoconf 2.69, GNU automake 1.13.1, flex 2.5.37, GNU Bison 2.7, GNU patch 2.7.1, gcc/++ 4.7.2
>
> I guess that would be stupid OSX doesn't have an  -n switch for echo.
>
> Feel free to send a patched Make-lang.in file. But I have an idea of what instead to use.
>
>
>
https://github.com/D-Programming-GDC/GDC/commit/e55a446b8465476ec7eda23edb44d4591eed2627


-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';


March 11, 2013
On Monday, 11 March 2013 at 11:39:19 UTC, Iain Buclaw wrote:
> On 11 March 2013 08:36, Iain Buclaw <ibuclaw@ubuntu.com> wrote:
>
>>
>> On Mar 10, 2013 11:41 PM, "John Colvin" <john.loughran.colvin@gmail.com>
>> wrote:
>> >
>> > On Friday, 8 March 2013 at 18:45:12 UTC, Iain Buclaw wrote:
>> >>
>> >> On 8 March 2013 18:37, John Colvin <john.loughran.colvin@gmail.com>
>> wrote:
>> >>
>> >>> Is there any way of knowing the correct snapshot to compile with at any
>> >>> given time? It's a pretty lengthy trial and error process to find
>> out....
>> >>>
>> >>
>> >> I normally update my gcc snapshot once every fortnight.  If there's any
>> >> compilation issues let me know.  But I hardly run into any, if at all...
>> >
>> >
>> > I downloaded the most recent snapshot (03/03) and gave compiling a go.
>> After fiddling around getting mpc mpfr and gmp3 recognised, I ran in to
>> this:
>> >
>> > In file included from
>> /Users/johncolvin/Git/gdc/gcc_for_gdc/gcc/d/dfrontend/mars.c:109:0:
>> > d/verstr.h: In constructor ‘Global::Global()’:
>> > d/verstr.h:1:2: error: ‘n’ was not declared in this scope
>> >  -n "2.062"
>> >   ^
>> > d/verstr.h:1:4: error: expected ‘;’ before string constant
>> >  -n "2.062"
>> >     ^
>> >
>> > This is on OS X 10.7, patch 2.5.8, gmp 5.0.5, mpfr 3.1.1, mpc 1.0.1, GNU
>> Autoconf 2.69, GNU automake 1.13.1, flex 2.5.37, GNU Bison 2.7, GNU patch
>> 2.7.1, gcc/++ 4.7.2
>>
>> I guess that would be stupid OSX doesn't have an  -n switch for echo.
>>
>> Feel free to send a patched Make-lang.in file. But I have an idea of what
>> instead to use.
>>
>>
>>
> https://github.com/D-Programming-GDC/GDC/commit/e55a446b8465476ec7eda23edb44d4591eed2627

LGTM, I'll try it out when I get back to my OS X machine later.