From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Eckhardt Subject: Re: [9fans] Install from CD fails To: 9fans@cse.psu.edu In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <9400.1145377032.1@piper.nectar.cs.cmu.edu> Date: Tue, 18 Apr 2006 12:17:13 -0400 Message-ID: <9401.1145377033@piper.nectar.cs.cmu.edu> Topicbox-Message-UUID: 3aa8700a-ead1-11e9-9d60-3106f5b1d025 > Shared libraries would help a lot here. Available data seem to suggest it might be a pyrrhic victory. There is a venerable hack which I think I saw in the BSD world (but which is probably older than that) by which N program's main()'s are renamed to be foo_main() and everything is linked together into one huge executable with a main() which dispatches based on argv[0]. It's crufty but the win is you end up with 1 printf() instead of N. Dave Eckhardt