Somehow I suspect this code won't run on my PPC boards.
Linux != x86.
At 05:51 PM 8/21/2001 -0700, you wrote:
Of course you should be able to go even smaller on a
linux system by going to
assembly and using the interrupt version of syscall().
.text
.globl _start
_start:
xor %eax,%eax
movb $4,%al
xor %ebx,%ebx
movb $1,%bl
movl $message,%ecx
xor %edx,%edx
movb $14,%dl
int $0x80
xor %eax,%eax
movb $1,%al
xor %ebx,%ebx
movb $0,%bl
int $0x80
message:
.string "Hello, world!\n"
[snip]
Gordon Zaft
zaft(a)azstarnet.com