entry at other than main (was want to know)

Richard Tobin richard at aiai.ed.ac.uk
Wed Aug 23 23:31:53 AEST 1989


In article <10797 at smoke.BRL.MIL> gwyn at brl.arpa (Doug Gwyn) writes:
>A language-independent linker cannot possibly know what a programming
>language's startup requirements are, therefore it cannot arrange the
>set-up necessary for arbitrary entry points.

What?

It might not be possible to add to an existing system, but there's no
reason why the compiler can't put something in the .o (or equivalent)
file telling the linker what initialisation is required.

-- Richard

-- 
Richard Tobin,                       JANET: R.Tobin at uk.ac.ed             
AI Applications Institute,           ARPA:  R.Tobin%uk.ac.ed at nsfnet-relay.ac.uk
Edinburgh University.                UUCP:  ...!ukc!ed.ac.uk!R.Tobin



More information about the Comp.lang.c mailing list