LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   cc1 error (https://www.linuxquestions.org/questions/suse-opensuse-60/cc1-error-465244/)

jaykrishna 07-18-2006 11:40 AM

cc1 error
 
hi ALL

i have SUSE linux 10.0 system , i am trying to install MCTDH package ( scientific software) on it.

initially i had this error message-

g77: installation problem, cannot exec cc1, no such file or directory.

though cc1 is located at -

/usr/lib64/gcc/x86_64-suse-linux/4.0.2/cc1

other dir info-

/usr/bin/gcc
/usr/bin/g77
/usr/bin/f77

therefore i tried symbolic link in /usr/bin using command --
ln -s /usr/lib64/gcc/x86_64-suse-linux/4.0.2/cc1

after this i tried reinstall and compile the MCTDH program
i get this error message:

g77 -O2 -malign-double -ffast-math -funroll-loops -fomit-frame-pointer -msse2 -mfpmath=sse -m32 -I/home/jay/mctdh83.10/CompDir22795 -I/home/jay/mctdh83.10/source/include -c /home/jay/mctdh83.10/source/lib/utilities/platform.F
cc1: error: too many filenames given. Type cc1 --help for usage

opinions greatly appreciated and thanks in advance.

kaz2100 07-18-2006 04:00 PM

usually, cc1 is hiding behind gcc or whatever. So, rather than making symbolic link to it, try to streight out broken tree sounds better. In your case, gcc.

jaykrishna 07-18-2006 05:19 PM

pardon, i did not understand, could you please explain in detail. thanks

kaz2100 07-18-2006 06:37 PM

Usually, user does not type "cc1", instead "gcc" or whatever. in other words, cc1 is backend of gcc or whatever.

I think, in your situation, the link from gcc to cc1 is broken. so that, tweaking path can tinker your situation, but not radical remedy.


All times are GMT -5. The time now is 01:55 PM.