Path: utzoo!utgpu!watmath!att!cbnews!ask From: ask@cbnews.ATT.COM (Arthur S. Kamlet) Newsgroups: comp.lang.c Subject: Re: want to know Message-ID: <9020@cbnews.ATT.COM> Date: 15 Aug 89 22:16:38 GMT References: <8487@bsu-cs.bsu.edu> <2980@solo9.cs.vu.nl> <182@sunquest.UUCP> <14269@haddock.ima.isc.com> <1496@l.cc.purdue.edu> Reply-To: ask@cbnews.ATT.COM (Arthur S. Kamlet) Organization: AT&T Bell Laboratories Lines: 25 In article <1496@l.cc.purdue.edu> cik@l.cc.purdue.edu (Herman Rubin) writes: >Those who remember the old Fortran will know that one normally had a PROGRAM >card, which was of the form > > PROGRAM NAME(.............) > >amd NAME was the name of the main entry point of the program. If you look at >the documentation of ld, it states that one can specify the original entry >point. This seems not to be implemented well in any version of UNIX with Well, instead of bringing back the old PROGRAM card, we substitute main(){PROGRAM_NAME()} hey, hey, hey, one line, that's all. just like the old days :^) -- Art Kamlet a_s_kamlet@att.com AT&T Bell Laboratories, Columbus