I cannot see the machine code produced by the cc compiler:
$ type test.lis
Source Listing 20-JUL-2025 09:57:31
VSI C x86-64 V7.6-001-50YAN Page 1
20-JUL-2025 09:52:01 DKA100:[ZRIDE]TEST.C;1
1 #include <stdio.h>
1 1665 int main() {
1 1666 printf("Hello world\n");
1 1667 }
Command Line
------- ----
CC/LIS/MACHINE TEST.C
Any ideas?
(this did not make it to any of the NNTP servers I use, but it
did hit INFO-VAX)
I cannot see the machine code produced by the cc compiler:
$ type test.lis
Source Listing 20-JUL-2025 09:57:31
VSI C x86-64 V7.6-001-50YAN Page 1
20-JUL-2025 09:52:01 DKA100:[ZRIDE]TEST.C;1
1 #include <stdio.h>
1 1665 int main() {
1 1666 printf("Hello world\n");
1 1667 }
Command Line
------- ----
CC/LIS/MACHINE TEST.C
Any ideas?
$ cc test
$ anal/obj/disasm/out=hello.lis hello
VSI is trying to get it in release notes for all compilers.
Arne
On 21/07/2025 19:22, Arne Vajhøj wrote:
$ cc test
$ anal/obj/disasm/out=hello.lis hello
VSI is trying to get it in release notes for all compilers.
I thought it was...
$ cc test
$ anal/obj/disasm/out=hello.lis hello
On 7/21/2025 3:11 PM, Chris Townley wrote:
On 21/07/2025 19:22, Arne Vajhøj wrote:
$ cc test
$ anal/obj/disasm/out=hello.lis hello
VSI is trying to get it in release notes for all compilers.
I thought it was...
It is in all the recent ones I have seen.
But I don't know if it is all and how far back it goes.
Arne Vajhøj <arne@vajhoej.dk> wrote:
On 7/21/2025 3:11 PM, Chris Townley wrote:
On 21/07/2025 19:22, Arne Vajhøj wrote:
$ cc test
$ anal/obj/disasm/out=hello.lis hello
VSI is trying to get it in release notes for all compilers.
I thought it was...
It is in all the recent ones I have seen.
But I don't know if it is all and how far back it goes.
On Alpha:
ANALYZ A01-07
*** This file is not an ELF object file
I guess that by VSI policy Alpha is not recent enough. OTOH cc/list/machine_code works on Alpha...
On 9/1/2025 3:59 PM, Waldek Hebisch wrote:
On Alpha:
ANALYZ A01-07
*** This file is not an ELF object file
I guess that by VSI policy Alpha is not recent enough. OTOH
cc/list/machine_code works on Alpha...
Itanium and x86-64 use ELF format.
VAX and Alpha use the VMS custom "double var" format. But
slightly different some definitions are xxx$ on VAX and
Exxx$ on Alpha.
Arne Vajhøj <arne@vajhoej.dk> wrote:
On 7/21/2025 3:11 PM, Chris Townley wrote:
On 21/07/2025 19:22, Arne Vajhøj wrote:
$ cc test
$ anal/obj/disasm/out=hello.lis hello
VSI is trying to get it in release notes for all compilers.
I thought it was...
It is in all the recent ones I have seen.
But I don't know if it is all and how far back it goes.
On Alpha:
ANALYZ A01-07
*** This file is not an ELF object file
I guess that by VSI policy Alpha is not recent enough. OTOH cc/list/machine_code works on Alpha...
On 9/2/25 00:52, Arne Vajhøj wrote:
On 9/1/2025 3:59 PM, Waldek Hebisch wrote:
On Alpha:
ANALYZ A01-07
*** This file is not an ELF object file
I guess that by VSI policy Alpha is not recent enough. OTOH
cc/list/machine_code works on Alpha...
Itanium and x86-64 use ELF format.
VAX and Alpha use the VMS custom "double var" format. But
slightly different some definitions are xxx$ on VAX and
Exxx$ on Alpha.
This indicates, that for (VAX and) Alpha nobody saw the need for a disassembler (integrated into ANALYZE).
I don't know if there are (freeware) tools that can disassemble such
object files. (A quick search didn't find any. I'm sure ChatGPT can
write one if you ask it!) It shouldn't be so hard (for VSI) to write
such a tool. The debugger and SDA can disassemble: it's just a matter of knowing the API and calling the corresponding code (which as far as I
can see is not exposed in a shareable image). But I doubt that anyone at
VSI wants to spend the time to create such a tool for Alpha.
If you really need to see the machine code that is in an object file,
for which you don't have the source code ...
On 9/2/25 00:52, Arne Vajhøj wrote:
On 9/1/2025 3:59 PM, Waldek Hebisch wrote:
On Alpha:
ANALYZ A01-07
*** This file is not an ELF object file
I guess that by VSI policy Alpha is not recent enough. OTOH
cc/list/machine_code works on Alpha...
Itanium and x86-64 use ELF format.
VAX and Alpha use the VMS custom "double var" format. But
slightly different some definitions are xxx$ on VAX and
Exxx$ on Alpha.
This indicates, that for (VAX and) Alpha nobody saw the need for a disassembler (integrated into ANALYZE).
I don't know if there are (freeware) tools that can disassemble such
object files. (A quick search didn't find any. I'm sure ChatGPT can
write one if you ask it!) It shouldn't be so hard (for VSI) to write
such a tool. The debugger and SDA can disassemble: it's just a matter of knowing the API and calling the corresponding code (which as far as I
can see is not exposed in a shareable image). But I doubt that anyone at
VSI wants to spend the time to create such a tool for Alpha.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (3 / 13) |
Uptime: | 30:23:10 |
Calls: | 10,391 |
Calls today: | 2 |
Files: | 14,064 |
Messages: | 6,417,097 |