Path: utzoo!attcan!uunet!cs.utexas.edu!csd4.csd.uwm.edu!mailrus!ncar!boulder!stan!dworkin From: dworkin@Solbourne.COM (Dieter Muller) Newsgroups: comp.lang.c Subject: Re: want to know Message-ID: <2043@salgado.Solbourne.COM> Date: 19 Aug 89 15:42:04 GMT References: <8487@bsu-cs.bsu.edu> <2980@solo9.cs.vu.nl> <182@sunquest.UUCP> <566@augean.OZ> <1507@l.cc.purdue.edu> <1989Aug18.100812.3518@twwells.com> Reply-To: dworkin@Solbourne.com (Dieter Muller) Organization: Solbourne Computer Inc., Longmont, Colorado Lines: 17 In a bunch of folks have complained about not being able to specify a start-up function other than main () on Unix. Umm, folks? Stupid question time. What's wrong with ld's ``-e entry'' argument? This (or a variant thereof) has been in every version of Berkeley Unix I've seen, and I'm pretty sure it was in Version 6 (my manual is a few miles away at the moment). ``-e entry'' specifies the entry-point of the program as _entry_. We now return you to your regularly-scheduled C vs FORTRAN flame war. Dworkin -- "Your spatial laws are ok, but God, the choices you give us." -- Deborah Blau boulder!stan!dworkin dworkin%stan@boulder.colorado.edu dworkin@solbourne.com Flamer's Hotline: (303) 678-4624 (1000 - 1800 Mountain Time)