Last Update: "2006/10/23 12:13:19 makoto"
hello.c
ttyr0:makoto@mini 11:53:33/061023(...local-src/gcc-4.1.1-m68hc11)> env PATH=./gcc:$PATH ./gcc/xgcc -S -I/usr/include ~/c/hello.c
In file included from /home/makoto/c/hello.c:1:
/usr/include/stdio.h:234: warning: conflicting types for built-in function 'fwrite'
/usr/include/stdio.h:327: warning: conflicting types for built-in function 'snprintf'
/usr/include/stdio.h:330: warning: conflicting types for built-in function 'vsnprintf'
ttyr0:makoto@mini 11:53:46/061023(...local-src/gcc-4.1.1-m68hc11)> ls -l hello.s
total 624
-rw-r--r-- 1 makoto wheel 365 Oct 23 11:53 hello.s
ttyr0:makoto@mini 11:54:02/061023(...local-src/gcc-4.1.1-m68hc11)> cat hello.s
.file "hello.c"
.mode mlong
; extern __swbuf
; extern printf
.sect .data
.type hello.1543, @object
.size hello.1543, 13
hello.1543:
.string "Hello World!"
; extern puts
.sect .text
.globl main
.type main,@function
main:
ldx *_.frame
pshx
sts *_.frame
ldd #hello.1543
bsr puts
puly
sty *_.frame
rts
.size main, .-main
.ident "GCC: (GNU) 4.1.1"
ttyr0:makoto@mini 11:54:07/061023(...local-src/gcc-4.1.1-m68hc11)>
|