Path: news.daimi.aau.dk!news.uni-c.dk!newsfeed.sunet.se!news00.sunet.se!sunic!mn6.swip.net!plug.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.mathworks.com!fu-berlin.de!zrz.TU-Berlin.DE!news From: Kai Petzke Newsgroups: comp.lang.beta Subject: Re: Missing crt0.o in Linux Date: Thu, 20 Jun 1996 12:26:06 +0200 Organization: Technical University Berlin, Germany Lines: 31 Message-ID: <31C9273E.41C6@idefix.physik.tu-berlin.de> References: <4qas8i$qi@wolfe.wimsey.com> NNTP-Posting-Host: foxylady.physik.tu-berlin.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 2.0 (X11; I; IRIX 5.2 IP20) To: Michael Borek Michael Borek wrote: > > Hi, > In attempting to compile any of the demos for Beta, I get, during linking: > > ld: cannot open /usr/lib/crt0.o: No such file or directory [...] > So: > > a) what are crt* ? The crt0.o is a small piece of code, that is called directly, after a given executable has been loaded into memory. That piece of code will complete the setup, like link in dynamic libraries, then call the main() function of the program. The crt0.o is used in programs of a.out style, only. > b) what is the fix to the above problem? Get an a.out development system working on your linux box, then make sure, that the BETA compiler uses the a.out, not the ELF stuff. A complete description can be found in the FAQ. Try: http://www.daimi.aau.dk/~beta/FAQ/#Lx01 Kai