Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

crt0.o

Status
Not open for further replies.

labnotes

Technical User
Sep 1, 2003
33
CA
I am about to move a C++ program from a P1 100 running Linux 1.3.45 to
a P4 running RH 7.1 Linux 2.4.2-2. In the make file is a link to crt0.o what is
this library obj and what does it do? Do I need it to compile the program?
 
Hi,
The *CRT*.O rotuines are the LOADER bootstrap programs. They are the system supplied modules for

start() ( called from the LOADER )

which call your

main().

They come in a couple flavors. one set for executables and and another set for Libraries

The sets are for

normal runtime,
Prof runtime,
lprof run time,
mprof runtime,
gprof runtime.

if you are getting an error on your LINK you probably have your compiler configured wrong to be able to find these .o's. normally they are in /usr/lib or /usr/ccs/lib or in your compilers lib directories.

-----
 
Thanks
If I don't have crt0.o on my computer can I build this? If so how.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top