Re: crt1.o?
On Tue, 23 Apr 1996, David M Smith wrote:
> I've got /usr/lib/crt0.o, but what's crt1.o? How does one find out in
> general which package contains a given file?
If the file is installed on your system:
femto[~]$ dpkg --search /usr/lib/crt1.o
libc5-dev: /usr/lib/crt1.o
In your case, if the file is not installed, grep the file Contents.gz
on the ftp site. Contents is a list of each package's contents.
crt contains the startup code for executables. It gets the
environment, calls main, sets the fpu mode, etc. crt0.o is the a.out
version and crt1.o is the elf version.
Guy
Reply to:
- References:
- crt1.o?
- From: David M Smith <D.M.Smith@lancs.ac.uk>