Thread overview
SCons and gdc
Oct 22, 2012
H. S. Teoh
Oct 22, 2012
Jacob Carlborg
Oct 23, 2012
jerro
October 22, 2012
This message is specifically addressed to Russel Winder, but I'm posting it here as it may concern other D SCons users too.

I've been using Russel's new D tooling to great effect -- it has been working quite well with dmd. However, I'm wondering if there's a way to make it work correctly for gdc (which uses gcc-style command-line syntax)? Currently, it tries to run gdc with dmd-style syntax, which causes object files to be wrongly named (-offilename.o gets interpreted as -o ffilename.o by gdc).

A temporary workaround is to use gdmd, of course, but I'd like to be able to access the gcc-style gdc-specific options for my builds.

Thanks!


T

-- 
A bend in the road is not the end of the road unless you fail to make the turn. -- Brian White
October 22, 2012
On 2012-10-22 19:55, H. S. Teoh wrote:

> A temporary workaround is to use gdmd, of course, but I'd like to be
> able to access the gcc-style gdc-specific options for my builds.

Perhaps gdmd has a flag which lets you pass gdc/gcc specific flags.

-- 
/Jacob Carlborg
October 23, 2012
On Monday, 22 October 2012 at 19:17:51 UTC, Jacob Carlborg wrote:
> On 2012-10-22 19:55, H. S. Teoh wrote:
>
>> A temporary workaround is to use gdmd, of course, but I'd like to be
>> able to access the gcc-style gdc-specific options for my builds.
>
> Perhaps gdmd has a flag which lets you pass gdc/gcc specific flags.

It does, it's the -q flag.