home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / softsys / khoros / 2898 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  2.3 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!sun-barr!olivea!spool.mu.edu!umn.edu!lynx!pprg.unm.edu!daemon
  2. From: sauer@chama.eece.unm.edu (Tom Sauer)
  3. Newsgroups: comp.soft-sys.khoros
  4. Subject: Re: kinstall & changing CC comand
  5. Message-ID: <41694@pprg.eece.unm.edu.pprg.unm.edu>
  6. Date: 17 Nov 92 16:47:23 GMT
  7. Sender: news@pprg.unm.edu
  8. Lines: 51
  9.  
  10. On Nov 13, 10:19, Timothy Williams wrote:
  11. } Subject: kinstall & changing CC comand
  12. >> Hi.
  13. >> 
  14. >> I'm running khoros 1.0 PL5 on a Solbourne S4000 running OS/MP 4.1A.1.
  15. >> 
  16. >> How do I modify what the CC command is for a particular toolbox.  Our
  17. >> default is gcc, but a program in a toolbox I got from someone core dumps
  18. >> with this.  When I edit the Makefile for the routine in the directory of the
  19. >> tool and just copy the binary to the bin directory, everything works fine.
  20. >> 
  21. >> In section B.3 of the Khoros Programmer's Manual, there are instructions for
  22. >> redefining the CC command in either the Site.def or platform.cf file.  I
  23. >> don't have access to this, and it would change the CC command for
  24. >> everything.  I tried putting 
  25. >> #define CcCmd cc
  26. >> in the <toolbox>.def file, but this didn't do anything when I ran kinstall.
  27.  
  28. You need to set the variable in the <toolbox>.def file not the define symbol.
  29. So rather then doing  "#define CcCmd cc" use "CC = cc".
  30.  
  31. Then when any Makefiles get regenerated they will use the new CC as set in the
  32. <toolbox>.def file
  33.  
  34.  
  35. >> 
  36. >> What's the right and consistent way to do this for a toolbox?
  37. >> Thanks in advance.
  38.  
  39. Anytime you want to redefine a variable in the for a toolbox, you must set 
  40. the variable.
  41.  
  42. >> 
  43. >> -- 
  44. >> Tim Williams                                   COM: (703) 704-1685
  45. >> Night Vision & Electro-Optics Directorate      DSN: 654-1685
  46. >> AMSEL-RD-NV-ISP (Williams)                     FAX: (703) 704-1705
  47. >> Ft. Belvoir, VA 22060-5677                  E-MAIL: williams@nvl.army.mil
  48. }-- End of excerpt from Timothy Williams
  49.  
  50.  
  51. Tom
  52.  
  53. -- 
  54. ============================================================================
  55. Tom Sauer                 |  Email: sauer@chama.eece.unm.edu
  56. The Khoros Group          |
  57. Dept. of EECE             |  
  58. University of New Mexico  |  Phone: (505) 277-6563
  59. Albuquerque, NM 87131     |    Fax: (505) 277-1439
  60. ============================================================================
  61.