Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!jarthur!uunet!picker!kobetitsch From: kobetitsch@picker.picker.com (harry kobetitsch) Newsgroups: comp.unix.misc Subject: Default Libraries using cc Message-ID: <257@picker.picker.com> Date: 24 Apr 91 01:36:01 GMT Distribution: na Organization: Picker International, Inc., Highland Heights, OH Lines: 20 I have the following question: If I have a machine running all development tools from Interactive Workstation Developer Package on machine A, and I am logged into machine B that has the complete filesystem from machine a mounted via NFS, how do I redirect default libraries, includes, etc when using cc. Right now, it is looking for libraries in /lib, default routines like ld in /bin and includes in /usr/include. The files are in /machineA/bin,/machineA/lib, /machineA/usr/include, etc. I know one solution is to set certain flags like -Y in cc but is there a way to set some kind of environment variables so I don't have to use the flags all the time? P.S. Interactive could not give me a decent answer on this. -- Harry Kobetitsch (216)-473-2624 Picker International, Inc. 595 Miner Rd, Highland Heights, OH 44143 (UUCP: ...!uunet!picker!kobetitsch) (Internet: kobetitsch@picker.com)