Godbolt.org hex view
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Sat Jan 25 02:39:09 UTC 2025
On 25/01/2025 3:37 PM, Walter Bright wrote:
> On 1/24/2025 2:48 AM, user1234 wrote:
>> On Friday, 24 January 2025 at 08:56:20 UTC, Walter Bright wrote:
>>> When I used to use godbolt.org, it would show the assembler generated
>>> by the compiler along with the hex bytes. Now it no longer shows the
>>> hex bytes. It just shows the disassembly. How do I turn that on? I
>>> clicked on every option I could find. I googled it. No joy. I tried
>>> Groc. No useful information.
>>>
>>> P.S. I get the hex output with clang, but not with gcc???
>>
>> "Output" + check "Link to binary"
>>
>> e.g https://godbolt.org/z/41hneYz98
>>
>> It seems that hex is only displayed when objdump is also used as
>> disaseembler, otherwise without the "Link to binary" option an ".S"
>> file is directly produced.
>
> Thank you, your link works. But where does it say "Link to binary" ??
Under the compiler/target drop down button.
There is a drop down button called Output.
More information about the Digitalmars-d
mailing list