This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: crt1.o not found in mipsel-linux


On Fri, 9 Dec 2005, Kai Ruottu wrote:

> pati (sent by Nabble.com) wrote:
>
> > can you explain me why this object file is used for.....
>
> The 'crt1.o' is the 'shell' around the 'main()' function, the
> program entry symbol, '_start' (usually), is in it. It does
> some initializing before calling 'main()' and when 'main()'
> exits, it does some 'atexit()' etc. tasks before going to
> 'exit()'...
>
> All the previous should be told on a "primary course in C"...

it *should* be but it rarely is.  i've never seen a course in C that
actually touches on the underlying compilation process.  what's the
best online explanation for that sort of thing?

rday

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]