Opened 15 years ago
Closed 14 years ago
#22918 closed defect (fixed)
paths incorrect for arm-elf-gcc 4.3.2
Reported by: | agprimatic@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | ||
Port: | arm-elf-gcc |
Description (last modified by jmroot (Joshua Root))
I successfully installed arm-elf-gcc on 10.5.8, but when I tried to run g++, I got this error:
g++: error trying to exec 'cc1plus': execvp: No such file or directory
running the command:
/opt/local/arm-elf/bin/g++ -print-search-dirs
returns this:
install: /opt/local/arm-elf/bin/../lib/gcc/arm-elf/4.3.2/ programs: =/opt/local/arm-elf/bin/../libexec/gcc/arm-elf/4.3.2/:/opt/local/arm-elf/bin/../libexec/gcc/:/opt/local/arm-elf/bin/../lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/arm-elf/4.3.2/:/opt/local/arm-elf/bin/../lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ libraries: =/opt/local/arm-elf/bin/../lib/gcc/arm-elf/4.3.2/:/opt/local/arm-elf/bin/../lib/gcc/:/opt/local/arm-elf/bin/../lib/gcc/arm-elf/4.3.2/../../../../arm-elf/lib/arm-elf/4.3.2/:/opt/local/arm-elf/bin/../lib/gcc/arm-elf/4.3.2/../../../../arm-elf/lib/
I believe the search dirs are missing an extra ../
For example, cc1plus is at
/opt/local/libexec/gcc/arm-elf/4.3.2/cc1plus
but g++ is looking for cc1plus in
/opt/local/arm-elf/bin/../libexec/gcc/arm-elf/4.3.2/cc1plus
It should be looking in
/opt/local/arm-elf/bin/../../libexec/gcc/arm-elf/4.3.2/cc1plus
Change History (2)
comment:1 Changed 15 years ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|---|
Port: | 4.3.2 removed |
comment:2 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Presumably fixed by r69937 if the old base version wasn't to blame.
Note: See
TracTickets for help on using
tickets.
You should first selfupdate; old versions of base are not supported.