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 web/27877] New: path mentioned in faq for specs file is incorrect


The FAQ on gcc.gnu.org states in section 2.2 "Dynamic linker is unable to find
GCC libraries" the following:

<snip>
However, if you feel you really need such an option to be passed automatically
to the linker, you may add it to the GCC specs file. This file can be found in
the same directory that contains cc1 (run gcc -print-prog-name=cc1 to find it).
You may add linker flags such as -R or -rpath, depending on platform and
linker, to the *link or *lib specs.
<snip>

Seems that the correct location of the specs file is found by running
"gcc --print-file libgcc.a" instead.

Unless I misunderstood something I think this paragraph in the FAQ needs to be
corrected.

Thanks,
*gjt*


-- 
           Summary: path mentioned in faq for specs file is incorrect
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: web
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: theurich at cocoabean dot org


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


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