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? |
What version of Linux are you using? What command did you use to compile the program?
|
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. |
Strange.... did you install the development tools when installing Mandrake?
|
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. |