Title: | USG buildhelp questions/answers |
Moderator: | SMURF::FILTER |
Created: | Mon Apr 26 1993 |
Last Modified: | Mon Jan 20 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 2763 |
Total number of notes: | 5802 |
Date Of Receipt: 28-NOV-1994 14:09:55.18 From: ALPHA::"[email protected]" "28-Nov-1994 1404" To: [email protected] CC: [email protected], [email protected] Subj: question about same file name's build export Dear odehelp, Here is the scenario: ======================== Two header files with the same name: /spec1170/sandbox/sb/src/kernel/arch/alpha/signal.h /spec1170/sandbox/sb/src/usr/include/sys/signal.h Will issuing of two export commands suffice? : From /spec1170/sandbox/sb/src/kernel/include/sys and from /spec1170/sandbox/sb/src/usr/include :-> build export_signal.h ======================== Or, do I need to issue the third one also: From /spec1170/sandbox/sb/src/kernel/arch/alpha :-> build export_signal.h ======================== thanks for any help, With regards, Sunil. ========================================================================== Sunil Bangad, USG Standards [email protected] Digital Equipment Corporation sysv::srb, unxa::BANGAD 200 Route 9 North Tel: (908) 577-6019 dtn 462 Manalapan, NJ 07726-9455 FAX: (908) 577-6003 http://www.unx.dec.com/~srb/home.html
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
1111.1 | Re: question about same file name s build export | AOSG::FILTER | Automatic Posting Software - mail to flume::puck | Tue Dec 13 1994 15:48 | 40 |
Date Of Receipt: 28-NOV-1994 15:09:51.75 From: FLUME::jmcg "Jim McGinness" To: [email protected] CC: buildhelp@DEC:.zko.flume, odehelp@DEC:.zko.flume Subj: Re: question about same file name's build export I'm not sure what you're trying to do from your description, but there are five Makefiles containing "signal.h" as a target: Note that normally, <signal.h> is a symlink to <sys/signal.h> and that <sys/signal.h> includes <machine/signal.h>. The magic of symbolic links is not used to make /usr/include/alpha a link to /usr/sys/include/alpha, for reasons I can't perceive. kernel/include/arch/alpha/Makefile installs usr/sys/include/arch/alpha/signal.h (also referenced as usr/sys/include/machine/signal.h) * usr/include/alpha/Makefile installs usr/include/alpha/signal.h (also referenced as usr/include/machine/signal.h) The following two references appear to overlap in their action. kernel/include/sys/Makefile installs usr/sys/include/sys/signal.h * usr/include/sys/Makefile installs usr/sys/include/sys/signal.h and exports to usr/include/sys/signal.h Also, there is: * usr/include/Makefile creates symlink /usr/include/signal.h -> sys/signal.h To do a complete job, you must invoke all five instances. To populate an export tree (where there is no usr/sys), you need to invoke the three I've marked with a "*". -- jmcg |