gcc 4.8.1 made it to Debian Sid

Iain Buclaw ibuclaw at ubuntu.com
Mon Jul 15 09:12:13 PDT 2013


On 15 July 2013 15:25, eles <eles at eles.com> wrote:
> On Thursday, 11 July 2013 at 14:42:09 UTC, H. S. Teoh wrote:
>>
>> On Thu, Jul 11, 2013 at 08:09:33AM +0100, Iain Buclaw wrote:
>>>
>>> On Jul 11, 2013 1:28 AM, "H. S. Teoh" <hsteoh at quickfur.ath.cx> wrote:
>>
>> Heh, you're right, I misread the Perl script (or rather, didn't pay
>> attention to that little flag named $combine). The original script does
>> indeed compile everything all at once. I'll have to change my new
>> version to do the same. :)
>
>
> The perl script achieves that by adding the "-combine" option to
> the invocation of gdc (perl/l626). That is a deprecated option.
> Newer one is to use "-flto" and, also, if the output is an exe,
> "-fwhole-program" could be added, too.
>

No, simply explicitly setting an -o object file is enough to achieve
the behaviour of the old "-combine" switch in prior gcc releases.

You don't want to be using -flto, -flto does not work with the D frontend.

--
Iain Buclaw

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


More information about the D.gnu mailing list