LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   problem with gcc (https://www.linuxquestions.org/questions/linux-software-2/problem-with-gcc-90452/)

ptwobrussell 09-08-2003 06:39 AM

problem with gcc
 
Hello.

After installing linux, I had to run a make file, which invoked the GCC compiler, in order to compile a device driver. No problems there. When I try to compile the simple helloWorld program (just an include to stdio.h and a print f and exit statement), however, I get the following error message. I've tried this as root as well, so it's not a permission issue

Error message is "gcc: installation problem, cannot exec `as': No such file or directory"

Am i missing something in my path that references a file called 'as' (the assember??) I've checked my path but didn't see that file anywhere. Anyone know what's going on?

Viro 09-08-2003 07:20 AM

What version of Linux are you using? What command did you use to compile the program?

ptwobrussell 09-08-2003 04:31 PM

The version is 9.1 of Mandrake. I just typed in the standard:

#cc -o foo foo.c

but i've also tried it with gcc in the place of cc, etc.

Viro 09-08-2003 04:47 PM

Strange.... did you install the development tools when installing Mandrake?

ptwobrussell 09-08-2003 04:58 PM

yea, i installed everything the rpm manager would let me. I think 'as' is the gcc assembler, and somehow it didn't get installed along with everything else for whatever reason. I'm trying to find it right now.


All times are GMT -5. The time now is 06:24 AM.