I'm brand new at linux development, I'm currently having problems with
linker specifically that it creates the output file but issues a warning
that it couldn't find symbol _start ( I'm working with a very basic "hello
world" app). Then I can't even run the resulting executable, oddly enough
the shell says the file doesn't exist. I think this is a common problem and
I'm most interested in how it relates to ctr0.o because the ld man page
mentions it and I don't have one anywhere on my system red hat 7.1 kernel
2.4.18 smp. Instead I have /usr/lib/crt1.o ../crtn.o crti.o. I'm using gcc
3.0.4 and gnu ld 2.10.91.
As a quick rundown I do this-
gcc main.c -c -o main.o
ld -o main main.o -lc
warning: unresolved symbol _start
Incidentally if I try linking with /usr/lib/crt1.o,crti.i,crtn.o the warning
goes away but the exe still won't run correctly.
Alex