[MacPorts] #22918: paths incorrect for arm-elf-gcc 4.3.2

MacPorts noreply at macports.org
Wed Dec 16 20:36:00 PST 2009


#22918: paths incorrect for arm-elf-gcc 4.3.2
----------------------------------+-----------------------------------------
 Reporter:  agprimatic@…          |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  1.7.1                                
 Keywords:                        |        Port:  arm-elf-gcc 4.3.2                    
----------------------------------+-----------------------------------------
 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

-- 
Ticket URL: <http://trac.macports.org/ticket/22918>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list