An easy question for system programmers: how can I use "ld" command to
generate an executable program from some object files.
I know I can use "cc" to do the job and it works fine. But I want to know
what are the necessary options for "ld" to do the job. I have tried the
following command line:
ld /usr/lib/crt0.o myprogram.o
and the result is not executable.
I am using SunOS. Please help.