www.digitalmars.com         C & C++   DMDScript  

D.gnu - gcc 4.8 snapshot

reply "John Colvin" <john.loughran.colvin gmail.com> writes:
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....
Mar 08 2013
next sibling parent reply Iain Buclaw <ibuclaw ubuntu.com> writes:
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';
Mar 08 2013
parent reply "John Colvin" <john.loughran.colvin gmail.com> writes:
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
Mar 10 2013
next sibling parent Iain Buclaw <ibuclaw ubuntu.com> writes:
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 =91Global::Global()=92:
 d/verstr.h:1:2: error: =91n=92 was not declared in this scope
  -n "2.062"
   ^
 d/verstr.h:1:4: error: expected =91;=92 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 --=20 Iain Buclaw *(p < e ? p++ : p) =3D (c & 0x0f) + '0';
Mar 11 2013
prev sibling parent reply Iain Buclaw <ibuclaw ubuntu.com> writes:
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 a=
ny
 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 an=
y
 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 =91Global::Global()=92:
 d/verstr.h:1:2: error: =91n=92 was not declared in this scope
  -n "2.062"
   ^
 d/verstr.h:1:4: error: expected =91;=92 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, GN=
U
 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/e55a446b8465476ec7eda23edb4= 4d4591eed2627 --=20 Iain Buclaw *(p < e ? p++ : p) =3D (c & 0x0f) + '0';
Mar 11 2013
parent "John Colvin" <john.loughran.colvin gmail.com> writes:
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.
Mar 11 2013
prev sibling parent Joseph Rushton Wakeling <joseph.wakeling webdrake.net> writes:
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).
Mar 09 2013