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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.