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