Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
compiler on Solaris-x86
Name: Springna Date: October 22, 2002 at 11:57:55 Pacific OS: Solaris-x86 CPU/Ram: 800
Comment:
Hi,
Before I install GCC-2.95.3, I know that my Solaris8 using original make which is /usr/ccs/bin/make to compile. But if I compile SSH then it shows: cc not found, then some error messages. Then I setup CC to /usr/ucb/cc and make sure PATH has entries like /usr/ccs/bin then /usr/ucb. But the same problems still happens.
Then I install the GCC-2.95.3, and add /usr/local/bin to PATH as the last entry. then when do the compile, it showing CC=/usr/local/bin/gcc gcc ........... gcc....... (some thing...) and it going through well.
So my question is how can I set up the system to use the original compiler even though GCC is installed ? what is the purpose to set up CC environment variable? Is there something wrong about my setup regarding the PATH?
Summary: I try to compile a c program on solaris 2.6 with gcc 3.3.2. My program use a compiled library which make reference to 'ctype_' functions. The linker can not find these functions on my sun sparc... can...