This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/11926] New: -print-file-name doesn't aways print full path names


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: -print-file-name doesn't aways print full path names
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gcc at microbizz dot nl
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: apple-powerpc-darwin
  GCC host triplet: apple-powerpc-darwin
GCC target triplet: apple-powerpc-darwin

-print-file-name and -print-prog-name don't aways print full path names, where
-print-libgcc-file-name does:

[G4:/usr] adriaan% gcc -print-file-name=libgcc
libgcc

[G4:/usr] adriaan% gcc -print-file-name=libgpc
libgpc

[G4:/usr] adriaan% gcc -print-prog-name=libgcc
libgcc

[G4:/usr] adriaan% gcc -print-prog-name=libgpc
libgpc

[G4:/usr] adriaan% gcc -print-libgcc-file-name
/Developer/Pascal/gpc331d2/lib/gcc-lib/powerpc-apple-darwin/3.3.1/libgcc.a

[G4:/usr] adriaan% gcc -print-prog-name=cc1
/Developer/Pascal/gpc331d2/lib/gcc-lib/powerpc-apple-darwin/3.3.1/cc1

[G4:/usr] adriaan% gcc -print-prog-name=gpc1
/Developer/Pascal/gpc331d2/lib/gcc-lib/powerpc-apple-darwin/3.3.1/gpc1

[G4:/usr] adriaan% gcc -v
Reading specs from
/Developer/Pascal/gpc331d2/lib/gcc-lib/powerpc-apple-darwin/3.3.1/specs
Configured with: ../gpc-331d2/configure --enable-languages=pascal,c
--prefix=/Developer/Pascal/gpc331d2 --enable-threads=posix
--target=powerpc-apple-darwin
Thread model: posix
gcc version 3.3.1

If this is intended behaviour, then the docs are wrong.

Regards,

Adriaan van Os


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]