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 Iain Buclaw <ibuclaw ubuntu.com> writes:
--047d7b6d9a62aa665804d76e3819
Content-Type: text/plain; charset=ISO-8859-1

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'; --047d7b6d9a62aa665804d76e3819 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On 8= March 2013 18:37, John Colvin <span dir=3D"ltr">&lt;<a href=3D"mailto:john= .loughran.colvin gmail.com" target=3D"_blank">john.loughran.colvin gmail.co= m</a>&gt;</span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex">Is there any way of knowing the correct snap= shot to compile with at any given time? It&#39;s a pretty lengthy trial and= error process to find out....<br> </blockquote></div><br></div><div class=3D"gmail_extra">I normally update m= y gcc snapshot once every fortnight.=A0 If there&#39;s any compilation issu= es let me know.=A0 But I hardly run into any, if at all...<br clear=3D"all"=
</div>

p) =3D (c &amp; 0x0f) + &#39;0&#39;; </div></div> --047d7b6d9a62aa665804d76e3819--
Mar 08 2013
prev sibling next 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
prev sibling next sibling parent "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
prev sibling next sibling parent Iain Buclaw <ibuclaw ubuntu.com> writes:
--001636b14cd056909b04d7a210c6
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

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>


 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




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.

this:
 In file included from

 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

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'; --001636b14cd056909b04d7a210c6 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable <p><br> On Mar 10, 2013 11:41 PM, &quot;John Colvin&quot; &lt;<a href=3D"mailto:joh= n.loughran.colvin gmail.com">john.loughran.colvin gmail.com</a>&gt; wrote:<= br> &gt;<br> &gt; On Friday, 8 March 2013 at 18:45:12 UTC, Iain Buclaw wrote:<br> &gt;&gt;<br> &gt;&gt; On 8 March 2013 18:37, John Colvin &lt;<a href=3D"mailto:john.loug= hran.colvin gmail.com">john.loughran.colvin gmail.com</a>&gt; wrote:<br> &gt;&gt;<br> &gt;&gt;&gt; Is there any way of knowing the correct snapshot to compile wi= th at any<br> &gt;&gt;&gt; given time? It&#39;s a pretty lengthy trial and error process = to find out....<br> &gt;&gt;&gt;<br> &gt;&gt;<br> &gt;&gt; I normally update my gcc snapshot once every fortnight. =A0If ther= e&#39;s any<br> &gt;&gt; compilation issues let me know. =A0But I hardly run into any, if a= t all...<br> &gt;<br> &gt;<br> &gt; 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 th= is:<br> &gt;<br> &gt; In file included from /Users/johncolvin/Git/gdc/gcc_for_gdc/gcc/d/dfro= ntend/mars.c:109:0:<br> &gt; d/verstr.h: In constructor =91Global::Global()=92:<br> &gt; d/verstr.h:1:2: error: =91n=92 was not declared in this scope<br> &gt; =A0-n &quot;2.062&quot;<br> &gt; =A0 ^<br> &gt; d/verstr.h:1:4: error: expected =91;=92 before string constant<br> &gt; =A0-n &quot;2.062&quot;<br> &gt; =A0 =A0 ^<br> &gt;<br> &gt; This is on OS X 10.7, patch 2.5.8, gmp 5.0.5, mpfr 3.1.1, mpc 1.0.1, G= NU Autoconf 2.69, GNU automake 1.13.1, flex 2.5.37, GNU Bison 2.7, GNU patc= h 2.7.1, gcc/++ 4.7.2</p> <p>I guess that would be stupid OSX doesn&#39;t have an=A0 -n switch for ec= ho. </p> <p>Feel free to send a patched Make-lang.in file. But I have an idea of wha= t instead to use.</p> <p>Regards<br> -- <br> Iain Buclaw</p> <p>*(p &lt; e ? p++ : p) =3D (c &amp; 0x0f) + &#39;0&#39;;<br> </p> --001636b14cd056909b04d7a210c6--
Mar 11 2013
prev sibling next sibling parent Iain Buclaw <ibuclaw ubuntu.com> writes:
--047d7b678800d2b6d104d7a49e97
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

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>


 Is there any way of knowing the correct snapshot to compile with at a=




 given time? It's a pretty lengthy trial and error process to find




I normally update my gcc snapshot once every fortnight. If there's an=



 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.

this:
 In file included from

 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=


 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.

4d4591eed2627 --=20 Iain Buclaw *(p < e ? p++ : p) =3D (c & 0x0f) + '0'; --047d7b678800d2b6d104d7a49e97 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">On 11 March 2013 08:36, Iain Buclaw <span dir=3D"ltr">&lt;= <a href=3D"mailto:ibuclaw ubuntu.com" target=3D"_blank">ibuclaw ubuntu.com<= /a>&gt;</span> wrote:<br><div class=3D"gmail_extra"><div class=3D"gmail_quo= te"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bor= der-left:1px solid rgb(204,204,204);padding-left:1ex"> <div class=3D""><div class=3D"h5"><p><br> On Mar 10, 2013 11:41 PM, &quot;John Colvin&quot; &lt;<a href=3D"mailto:joh= n.loughran.colvin gmail.com" target=3D"_blank">john.loughran.colvin gmail.c= om</a>&gt; wrote:<br> &gt;<br> &gt; On Friday, 8 March 2013 at 18:45:12 UTC, Iain Buclaw wrote:<br> &gt;&gt;<br> &gt;&gt; On 8 March 2013 18:37, John Colvin &lt;<a href=3D"mailto:john.loug= hran.colvin gmail.com" target=3D"_blank">john.loughran.colvin gmail.com</a>= &gt; wrote:<br> &gt;&gt;<br> &gt;&gt;&gt; Is there any way of knowing the correct snapshot to compile wi= th at any<br> &gt;&gt;&gt; given time? It&#39;s a pretty lengthy trial and error process = to find out....<br> &gt;&gt;&gt;<br> &gt;&gt;<br> &gt;&gt; I normally update my gcc snapshot once every fortnight. =A0If ther= e&#39;s any<br> &gt;&gt; compilation issues let me know. =A0But I hardly run into any, if a= t all...<br> &gt;<br> &gt;<br> &gt; 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 th= is:<br> &gt;<br> &gt; In file included from /Users/johncolvin/Git/gdc/gcc_for_gdc/gcc/d/dfro= ntend/mars.c:109:0:<br> &gt; d/verstr.h: In constructor =91Global::Global()=92:<br> &gt; d/verstr.h:1:2: error: =91n=92 was not declared in this scope<br> &gt; =A0-n &quot;2.062&quot;<br> &gt; =A0 ^<br> &gt; d/verstr.h:1:4: error: expected =91;=92 before string constant<br> &gt; =A0-n &quot;2.062&quot;<br> &gt; =A0 =A0 ^<br> &gt;<br> &gt; This is on OS X 10.7, patch 2.5.8, gmp 5.0.5, mpfr 3.1.1, mpc 1.0.1, G= NU Autoconf 2.69, GNU automake 1.13.1, flex 2.5.37, GNU Bison 2.7, GNU patc= h 2.7.1, gcc/++ 4.7.2</p> </div></div><p>I guess that would be stupid OSX doesn&#39;t have an=A0 -n s= witch for echo. </p> <p>Feel free to send a patched Make-lang.in file. But I have an idea of wha= t instead to use.</p><p><br></p></blockquote><div><br><a href=3D"https://gi= thub.com/D-Programming-GDC/GDC/commit/e55a446b8465476ec7eda23edb44d4591eed2= 627">https://github.com/D-Programming-GDC/GDC/commit/e55a446b8465476ec7eda2= 3edb44d4591eed2627</a> <br> </div></div><br clear=3D"all"><br>-- <br>Iain Buclaw<br><br>*(p &lt; e ? p+= + : p) =3D (c &amp; 0x0f) + &#39;0&#39;; </div></div> --047d7b678800d2b6d104d7a49e97--
Mar 11 2013
prev sibling 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>


 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




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.

ran in to this:
 In file included from

 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

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.


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