Telling csh about multiple, machine-dependent libraries

Stephen J. Friedl friedl at vsi.COM
Tue Nov 29 13:48:01 AEST 1988


In article <530 at auspex.UUCP>, guy at 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 at vsi.com     {backbones}!vsi.com!friedl    attmail!vsi!friedl
------------Nancy Reagan on climaxes: "Just say moan!"-------------
:wq!



More information about the Comp.unix.questions mailing list