libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gcc 3.4.0, libtool, and C++


From: Bob Friesenhahn
Subject: gcc 3.4.0, libtool, and C++
Date: Sun, 2 May 2004 13:47:09 -0500 (CDT)

I am encountering a problem with gcc 3.4.0 in that when libtool
performs a C++ link, it includes -L options which reference GCC
3.4.0's build directory.  Under Solaris, this causes a link failure.
In order for builds of C++ programs to succeed, it is necessary to
move/remove the GCC build directory.

For example, these options are added for all C++ links on my Solaris
machine:

-L/home/bfriesen/src/gnu/gcc-3.4.0-build/sparc-sun-solaris2.9/libstdc++-v3/src
-L/home/bfriesen/src/gnu/gcc-3.4.0-build/sparc-sun-solaris2.9/libstdc++-v3/src/.libs
-L/home/bfriesen/src/gnu/gcc-3.4.0-build/gcc

Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen





reply via email to

[Prev in Thread] Current Thread [Next in Thread]