[Bug 59939] New: dependency_libs contains source paths and libs from gcc

Markus Mertens mertema at uni-muenster.de
Tue Jun 17 13:13:05 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=59939     
           Summary: dependency_libs contains source paths and libs from gcc
           Product: kdevelop
           Version: 2.1.5
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at kdevelop.org
        ReportedBy: mertema at uni-muenster.de


Version:           2.1.5 (using KDE KDE 3.1)
Installed from:    Compiled From Sources
Compiler:          gcc-3.2.3 
OS:          Solaris

Hi!

When I'm creating a shared library with kdevelop a file *.la is generated. This file contains a section "dependency_libs" in which all source and library paths from the used gcc are listed (see below). Even local paths from LDFLAGS are added. 

The most urgent problem is that I have to edit all *.la files (i.e. deleting all gcc paths) of all shared libraries ever created with kdevelop after a compiler upgrade. I'm wondering why they are added anyhow, because without them everything works fine (dependency_libs=' -m -lgcc_s').

Kind regards,

    Markus


-------------------------------------------
# Libraries that this one depends upon.
dependency_libs=' -L/usr/local/lib -L/opt/sfw/lib -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/../../../../sparc-sun-solaris2.8/lib -L/usr/ccs/bin -L/usr/ccs/lib -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/../../.. /usr/local/lib/libstdc++.la -L/usr2/SOURCES/S8/gcc-3.2.3/objdir/sparc-sun-solaris2.8/libstdc++-v3/src -L/usr2/SOURCES/S8/gcc-3.2.3/objdir/sparc-sun-solaris2.8/libstdc++-v3/src/.libs -L/usr2/SOURCES/S8/gcc-3.2.3/objdir/gcc -L/usr/local/sparc-sun-solaris2.8/bin -L/usr/local/sparc-sun-solaris2.8/lib -lm -lgcc_s'




More information about the KDevelop-devel mailing list