On Wed, Feb 11, 2004 at 02:08:42PM -0800, johnny henrik wrote:
> I am stuck with this issue. Please help
> Our libtool work fine with gnu gcc. now we want to cofigure it to work with /
> opt/SUNWspro/bin/CC compiler. And it fail when it links.
> Notice that it still use "gcc -share" instead of /opt/SUNWspro/bin/CC -shared.
> Why? and how do i make it to use /opt/SUNWspro/bin/CC instead of gcc 
>  
> 
> /usr/local/bin/libtool --mode=link --tag=CC /opt/SUNWspro/bin/CC -I/home/john/
> common/gpslib/source/build/output/sol/include -I/include -L/home/john/common/
> gpslib/source/build/output/sol/lib -L/lib -o libslsmath.la /home/john/common/
> gpslib/source/build/output/sol/objs/slsmath.lo -rpath /home/john/common/gpslib/
> source/build/output/sol/lib
> mkdir .libs
> gcc -shared -Wl,-h -Wl,libslsmath.so.0 -o .libs/libslsmath.so.0.0.0  /home/john
> /common/gpslib/source/build/output/sol/objs/.libs/slsmath.o  -L/home/john/
> common/gpslib/source/build/output/sol/lib -L/lib -lc

You cannot use a libtool configured for GCC with the Sun compiler.
Each "libtool" script is custom-generated for a specific compiler.

-- 
albert chin ([EMAIL PROTECTED])


_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to