The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



Thread: Linker (ld)
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 02-14-2003
rajashekaran rajashekaran is offline
Registered User
 

Join Date: Nov 2001
Posts: 19
Linker (ld)

hai
I have installed Linux 7.0 on my system and i have an doubt the
linker
i ran simple hello.c program with gcc compiler
gcc -c hello.c
i want linker to produce the output
so i put on the command line as

ld first.o -lc

but it is not running ver properly
but there is an warning:
entry symbol _start not found
please rectify my error
i tried this option also
ld -o output /lib/crt1.o hello.o -lc
a waring comes " file format not recognized "
please rectify above errors
Thanx
Forum Sponsor