Path: utzoo!attcan!uunet!vsi!friedl From: friedl@vsi.COM (Stephen J. Friedl) Newsgroups: comp.unix.questions Subject: Re: Telling csh about multiple, machine-dependent libraries Summary: More on #ident Keywords: csh bin libraries Message-ID: <954@vsi.COM> Date: 29 Nov 88 03:48:01 GMT References: <142@minya.UUCP> <530@auspex.UUCP> Organization: V-Systems, Inc. -- Santa Ana, CA Lines: 32 In article <530@auspex.UUCP>, guy@auspex.UUCP (Guy Harris) writes: > > "ident" is an S5R3-ism; SVR2 compilers on the 3B2 have had #ident since (at least) pcc2. < It takes a character string as an argument, and < gets passed through to the compiler, which tells the assembler to stick < the string into a special "SCCS IDs" section of the object file. It's the ".comment" section (as opposed to .text, .data, or .bss). < That way, SCCS IDs are in the object file (and in the source file, by virtue < of the "#ident" line), but not in the address space of a process that < runs an executable. There's a command that will remove the "SCCS IDs" < section, in case you don't want to spend disk blocks on it. The command that diddles with this is `mcs' (manipulate comment section). < Some systems implement it but don't pass it through to the compiler; < this is done for S5R3 compatibility, so that you don't have to rip the < "#ident" lines out. 4.3BSD and SunOS 4.0 do this. This is mighty nice of them -- I like #ident. Steve -- Steve Friedl V-Systems, Inc. +1 714 545 6442 3B2-kind-of-guy friedl@vsi.com {backbones}!vsi.com!friedl attmail!vsi!friedl ------------Nancy Reagan on climaxes: "Just say moan!"------------- :wq!