Re: [Clax86list] Writing a simple echo program



Charles Crayne <spamtrap@xxxxxxxxxx> wrote:

On Tue, 27 Mar 2007 17:38:20 -0500
Rob Hoelz <spamtrap@xxxxxxxxxx> wrote:

$ ld -s -o test test.o

What output do you get from ld? It should be complaining about being
unable to find putchar, and it might also have cause to complain about
not finding _Start.

-- Chuck


My bad, this is the command I used:
$ ld -s -o test test.o -lc

It makes no complaints.

.