Gyana <[EMAIL PROTECTED]> [2002-10-09 12:21:22 +0530]: > > 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.
I see that you posted this to other gnu groups too so I will let them hash this out. GNU shellutils is probably not the group you want to post this to. Nothing to do here with ld. But if you have a problem with /bin/echo et al then we are happy to hear from you. :-) Bob > > 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
