hi could you refer some tips from solaris freeware groups in google as ... http://groups.google.com/group/gnu.gcc.help/browse_thread/thread/1055dec 42f67a67d/6b24cc1ac5dfd2b9?lnk=st&q=ld%3A+fatal%3A+file+crt1.o%3A+open+f ailed%3A&rnum=6&hl=en#6b24cc1ac5dfd2b9 to set a GCC_EXEC_PREFIX env variable and test? Fan -----Original Message----- From: Rangaswamy, Parthasarathy (Parthasarathy) Sent: Wednesday, February 28, 2007 12:58 PM To: gcc-help@xxxxxxxxxxx Cc: Ling, Rex [CCC-OT_IT]; Zhang, Fan (Fan) Subject: cannot exec cpp0 Hi GCC Help, I am trying to compile programs on gcc 332, but get "gcc: installation problem, cannot exec `cpp0': No such file or directory" error. If I add the path of cpp0 file in PATH variable, I encounter "ld: fatal: file crt1.o: open failed: No such file or directory" error. A simple HelloWorld program is compiled properly. However when I include options like -g and -I and -o I encounter these errors. Same programs are running fine on atleast 10 different systems. Appreciate your help to resolve the issue. Thanks, Partha. +91 20 3041 2774