gcc 4.8 snapshot

John Colvin john.loughran.colvin at gmail.com
Mon Mar 11 05:03:17 PDT 2013


On Monday, 11 March 2013 at 11:39:19 UTC, Iain Buclaw wrote:
> On 11 March 2013 08:36, Iain Buclaw <ibuclaw at ubuntu.com> wrote:
>
>>
>> On Mar 10, 2013 11:41 PM, "John Colvin" 
>> <john.loughran.colvin at 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 at 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.


More information about the D.gnu mailing list