The command shown below does not return the correct Thumb libgcc library for gcc
v4.0.0:

$ /3rd/arm-elf-gcc/bin/arm-thumb-elf-gcc -mthumb -print-libgcc-file-name
/Volumes/Misc/3rd/arm-elf-gcc/bin/../lib/gcc/arm-thumb-elf/4.0.0/libgcc.a


The same command used with gcc v3.4.3 does return the correct library name:

$ /3rd/arm-elf-gcc.old/bin/arm-thumb-elf-gcc -mthumb -print-libgcc-file-name
/Volumes/Misc/3rd/arm-elf-gcc.old/bin/../lib/gcc/arm-thumb-elf/3.4.3/thumb/libgcc.a

-- 
           Summary: Libgcc file name not returned correctly
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: epoitier at velvetfr dot ath dot cx
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-apple-darwin7.9.0
  GCC host triplet: powerpc-apple-darwin7.9.0
GCC target triplet: arm-thumb-elf


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21344

Reply via email to