SCons and gdc

Alex Rønne Petersen alex at lycus.org
Mon Oct 22 11:14:05 PDT 2012


On 22-10-2012 20:03, Russel Winder wrote:
> Hi,
>
> On Mon, 2012-10-22 at 10:55 -0700, H. S. Teoh wrote:
> […]
>> 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).
>
> Uuurrr... the gdc tool should use GCC standard options, and indeed fail
> in DMD/GDMD/LDC style options.  If this is not the case we should raise
> a bug report, create a unit test fail and add it into the code base.
>
>> 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.
> […]
>
> I have to admit to not having tested GDC so much as it isn't 2.060
> compatible as yet, and LDC is, so I am using the ldc tool for the
> moment.
>
> Thanks.
>

It is, and has been for months.

-- 
Alex Rønne Petersen
alex at lycus.org
http://lycus.org


More information about the Digitalmars-d mailing list