LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-08-2003, 06:39 AM   #1
ptwobrussell
LQ Newbie
 
Registered: Aug 2003
Posts: 7

Rep: Reputation: 0
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?
 
Old 09-08-2003, 07:20 AM   #2
Viro
LQ Newbie
 
Registered: Aug 2003
Posts: 22

Rep: Reputation: 15
What version of Linux are you using? What command did you use to compile the program?
 
Old 09-08-2003, 04:31 PM   #3
ptwobrussell
LQ Newbie
 
Registered: Aug 2003
Posts: 7

Original Poster
Rep: Reputation: 0
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.
 
Old 09-08-2003, 04:47 PM   #4
Viro
LQ Newbie
 
Registered: Aug 2003
Posts: 22

Rep: Reputation: 15
Strange.... did you install the development tools when installing Mandrake?
 
Old 09-08-2003, 04:58 PM   #5
ptwobrussell
LQ Newbie
 
Registered: Aug 2003
Posts: 7

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Solved Problem Second GCC-Pass(or gettext sanity check problem) hoes Linux From Scratch 0 09-04-2005 10:20 AM
gcc problem skguha Linux - Software 3 05-06-2004 07:03 AM
gcc problem chief Linux - Software 2 07-24-2003 04:23 PM
gcc 3.3 problem darthczyz Linux - Software 6 05-20-2003 10:42 AM
gcc problem nakkaya Linux - Software 5 04-21-2003 05:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration