question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Execute the binary" does not work for LDC

See original GitHub issue

https://godbolt.org/g/hSM9rK

LDC does not output the binary by default to a.out, but to <filename>. So that’d be example in CE’s case (it’s compiling example.d, iirc).

I am not sure but I think LDC cannot output the binary and the LLVM IR from one compiler invocation.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
RubenRBScommented, Jul 1, 2017

I don’t think the execution functionality is intended to be enabled on the live site yet! Let me double check this and I’ll get back to you once I know something more about it. (Sorry for taking so long!)

0reactions
mattgodboltcommented, Jan 11, 2018

Oh cripes, it is a security issue!

https://godbolt.org/g/Jswkpx

😃 oops!

We’re working on execution support as the next big feature…

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Execute the binary" does not work for LDC · Issue #471 · compiler ...
LDC does not output the binary by default to a.out , but to <filename> . So that'd be example in CE's case (it's...
Read more >
ldc-developers/main - Gitter
Hi! I tried to build LDC in Alpine Linux to make a statically linked binary with musl libc. The resulted LDC mostly works...
Read more >
Fuzzing D code with LDC - Programming blog of Johan Engelen
In this case, I'm using @(ldc.attributes.optStrategy("none")) to disable dead code elimination in the function (note that doc is not used, so ...
Read more >
Cross-compiling with LDC - D Wiki
LDC is an implicit cross-compiler, i.e., if you have an LDC binary, you can cross-compile, and you don't need multiple LDC executables for ......
Read more >
Compiling With LDC2 and GDC - Stack Overflow
The error with LDC means that you (re)moved libconfig++ after you compiled it. PATH and DFLAGS are unrelated, but as Dan noted in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found