Re: Building on Ubuntu -- what GCC sources to use?

2013-05-31 Thread jerro
On Friday, 31 May 2013 at 15:22:33 UTC, Joseph Rushton Wakeling wrote: On 05/31/2013 04:30 PM, H. S. Teoh wrote: I thought the usual method is: apt-get source Or is that not working for you for some reason? The required sources (gcc 4.8) aren't available in the Ubuntu repositories, and obv

Re: always_inline and noinline

2013-05-14 Thread jerro
Great!

Re: always_inline and noinline

2013-04-20 Thread jerro
Can do. That would be nice :) Now we are freed from the shackles of GCC attributes, we can give some of the attributes better or alternative names. Personally, I'm fine with the names noinline and always_inline. If you are looking for alternative names, one option would be to use forceinli

always_inline and noinline

2013-04-20 Thread jerro
Is there any chance @attribute("always_inline") and @attribute("noinline") will be added to GDC? It would be nice to be able to control inlining.

Re: Current GDC experience and questions

2013-03-08 Thread jerro
I tried modifying some trivial sources, which were using only 'pragma(attribute, noinline)', but couldn't get them to work; the compiler keeps complaining, 'cc1d: error: unknown attribute noinline'. Is 'import gcc.attribute; @attribute("noinline") void f() {}' supposed to work? It isn't. When

Re: Compiling GDC-MinGW

2013-03-03 Thread jerro
On Sunday, 3 March 2013 at 21:47:16 UTC, Benjamin Thaut wrote: So I'm trying to build GDC-MinGW from source and I'm running into an issue. The configure script of the ppl-tdm64 gets stuck after printing "checking if the compiler has the remainder bug..." the conf exectuable executes with 13% cp

Re: Inexplicable LDC vs GDC speed difference

2013-02-13 Thread jerro
On Wednesday, 13 February 2013 at 15:07:04 UTC, Joseph Rushton Wakeling wrote: Following some code posted in d.learn, I've observed a bizarre and (to me) inexplicable difference in code speed depending on whether LDC or GDC is used as the compiler: http://forum.dlang.org/post/mailman.1239.13607

Re: Mingw. Compile for arm

2013-02-09 Thread jerro
On Saturday, 9 February 2013 at 21:30:28 UTC, Glap wrote: Can I get somewhere gdc for build arm programs? Thank you. You can build GDC cross compiler for ARM using crosstool-ng. See the instructions here: http://gdcproject.org/wiki/Cross%20Compiler/crosstool-NG

OS X problem

2012-08-30 Thread jerro
I'm trying to use GDC on OS X 10.7.3. GDC itself builds fine, but when I try to make an executable with it I get an error about __deh_eh_array not being defined. Is that a bug or am I doing something wrong? I don't normally use OS X so it could be something really obvious.

Re: GDC 4.7 Error Build

2012-07-30 Thread jerro
It looks like you are using the branch master of GDC. To use gcc 4.7.1 you should use the branch gdc-4.7. You can download it here: https://github.com/D-Programming-GDC/GDC/tree/gdc-4.7 Or clone it with: git clone -b gdc-4.7 git://github.com/D-Programming-GDC/GDC.git The master branch of GDC