SCons and gdc

H. S. Teoh hsteoh at quickfur.ath.cx
Mon Oct 22 10:55:18 PDT 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


More information about the Digitalmars-d mailing list