[WiP] Creating a snap package of LDC
David Nadlinger via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Wed Aug 31 13:24:44 PDT 2016
On 31 Aug 2016, at 20:37, Joseph Rushton Wakeling via digitalmars-d-ldc
wrote:
> Anyway, same question -- is there any way of including flags to pass
> to gcc, or is it just the gcc command itself that can be specified?
Unfortunately, there is currently no way for doing that as far as I can
see.
Such functionality would also be helpful for passing on GCC-style flags
picked up from pkg-config et al. – see e.g.
https://github.com/ldc-developers/ldc/pull/1594, although we'd need
widespread host compiler support before we could rely on something like
that.
For your particular use case, however – in a controlled and very
specific situation –, wouldn't a small wrapper around the GCC binary
to supplant the necessary arguments work just as well? If GCC doesn't
work without any additional arguments, this is arguably a bug anyway.
– David
More information about the digitalmars-d-ldc
mailing list