digitalmars.D - SCons and gdc
- H. S. Teoh (14/14) Oct 22 2012 This message is specifically addressed to Russel Winder, but I'm posting
- Jacob Carlborg (4/6) Oct 22 2012 Perhaps gdmd has a flag which lets you pass gdc/gcc specific flags.
- jerro (2/9) Oct 22 2012 It does, it's the -q flag.
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
Oct 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
Oct 22 2012
On Monday, 22 October 2012 at 19:17:51 UTC, Jacob Carlborg wrote:On 2012-10-22 19:55, H. S. Teoh wrote:It does, it's the -q flag.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.
Oct 22 2012