home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 25.ddi / root.2 / usr / ucb / cc < prev    next >
Encoding:
Text File  |  1990-12-20  |  2.4 KB  |  67 lines

  1. #!/sbin/sh
  2. #    Copyright (c) 1990 UNIX System Laboratories, Inc.
  3. #    Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T
  4. #      All Rights Reserved
  5.  
  6. #    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF
  7. #    UNIX System Laboratories, Inc.
  8. #    The copyright notice above does not evidence any
  9. #    actual or intended publication of such source code.
  10.  
  11. #ident    "@(#)//usr/ucb/cc.sl 1.1 4.0 12/08/90 338 AT&T-USL"
  12.  
  13. #    Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T
  14. #      All Rights Reserved
  15.  
  16. #    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T
  17. #    The copyright notice above does not evidence any
  18. #    actual or intended publication of such source code.
  19.  
  20.  
  21.  
  22.  
  23. #        PROPRIETARY NOTICE (Combined)
  24. #
  25. #This source code is unpublished proprietary information
  26. #constituting, or derived under license from AT&T's UNIX(r) System V.
  27. #In addition, portions of such source code were derived from Berkeley
  28. #4.3 BSD under license from the Regents of the University of
  29. #California.
  30. #
  31. #
  32. #
  33. #        Copyright Notice 
  34. #
  35. #Notice of copyright on this source code product does not indicate 
  36. #publication.
  37. #
  38. #    (c) 1986,1987,1988,1989  Sun Microsystems, Inc
  39. #    (c) 1983,1984,1985,1986,1987,1988,1989  AT&T.
  40. #              All rights reserved.
  41.  
  42. # cc command for BSD compatibility package:
  43. #
  44. #    BSD compatibility package header files (/usr/ucbinclude)
  45. #    are included before SVr4 default (/usr/include) files but 
  46. #       after any directories specified on the command line via 
  47. #    the -I option.  Thus, the BSD header files are included
  48. #    next to last, and SVr4 header files are searched last.
  49. #    
  50. #    BSD compatibility package libraries (/usr/ucblib) are
  51. #    searched next to third to last.  SVr4 default libraries 
  52. #    (/usr/ccs/lib and /usr/lib) are searched next to last
  53. #
  54. #    Because the BSD compatibility package C library does not 
  55. #    contain all the C library routines of /usr/ccs/lib/libc.a, 
  56. #    the BSD package C library is named /usr/ucblib/libucb.a
  57. #    and is passed explicitly to cc.  This ensures that libucb.a 
  58. #    will be searched first for routines and that 
  59. #    /usr/ccs/lib/libc.a will be searched afterwards for routines 
  60. #    not found in /usr/ucblib/libucb.a.  Also because sockets is    
  61. #       provided in libc under BSD, /usr/lib/libsocket and /usr/lib/nsl
  62. #       are also included as default libraries.
  63. #
  64. #    NOTE: the -Y L, and -Y U, options of cc are not valid 
  65.  
  66. /usr/ccs/bin/cc -YP,:/usr/ucblib:/usr/ccs/lib:/usr/lib $@ -I /usr/ucbinclude -l ucb -l socket -l nsl
  67.