让它看起来像 tasm 生成的列表)
问问题
398 次
2 回答
3
使用“-S”作为参数之一调用“gnatmake”:
$ cat hello_world.adb
with Ada.Text_IO;
procedure Hello_World is
begin
Ada.Text_IO.Put_Line ("Hello world!");
end Hello_World;
$ gnatmake -S hello_world
[...]
$ head hello_world.s
.file "hello_world.adb"
.section .rodata
.LC1:
.ascii "Hello world!"
.align 4
.LC0:
.long 1
.long 12
.text
.globl _ada_hello_world
于 2013-06-10T14:05:50.467 回答