SCons and gdc
Russel Winder
russel at winder.org.uk
Mon Oct 22 11:03:03 PDT 2012
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.
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20121022/3ffaefd1/attachment-0001.pgp>
More information about the Digitalmars-d
mailing list