Summary: | gcc: error trying to exec 'as': execvp: No such file or directory | ||
---|---|---|---|
Product: | gcc | Reporter: | David Sandler <dsandler> |
Component: | c | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | gcc-bugs |
Priority: | P3 | ||
Version: | 4.1.2 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: |
Description
David Sandler
2009-06-04 15:12:16 UTC
the gcc driver program is not finding as. (In reply to comment #1) > the gcc driver program is not finding as. What is the appropriate course of action? Properly install as. This is definitely not a GCC issue. I'm running RHEL5 on an x86_64 box from HP. I believe gcc and as were preconfigured when the OS was installed on the box. In what other ways would I know if as was not properly installed? Do you have any tips on what is the correct way to install as? You haven't told us haw you have configured gcc, if it was a native build or cross, etc. If it is a native build, checking that /usr/bin/as exists is the first step. You can e.g. strace the gcc driver to find out where exactly it is looking for as. (In reply to comment #5) > You haven't told us haw you have configured gcc, if it was a native build or > cross, etc. > If it is a native build, checking that /usr/bin/as exists is the first step. > You can e.g. strace the gcc driver to find out where exactly it is looking for > as. I'm working on getting an answer regarding the configuration of gcc from our SA group, as I'm not an SA. I can tell you that /usr/bin/as does exist. All of my work has been done on HP-UX 11.23 and IA64 boxes, so I'm very new to RHEL5 and x86_64. Could you tell me how to strace the gcc driver? Depends what command gives you that execvp: No such file or directory error. Do yum install strace strace -f -o /tmp/gcc.log /whatever/command/gave/the/error its arguments and look where it was looking for as before giving that failure. I'll have the SA group here give that a try. Thanks. |