> Hi, > > I have one "Hello World " object file. I want to get the executable > without using gcc directly. Instead I want to link the object file to the > library by using ld in command line. > > As per man page of ld to link an object file with C library we can use > ld -o I<output> /lib/crt0.o hello.o -lc but it is giving error > ld: cannot open /lib/crt0: No such file or directory as the file <crt0> > does not exist in specified directory. > > So which file should we use instead of </lib/crt0> to link our "Hello > World" object file ?? > > I am using Linux 7.3 version. > > Thanks > > Mishra
_______________________________________________ Bug-sh-utils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-sh-utils
