[Top][All Lists]

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

Libtool 1.5.23b

From: Tim Rice
Subject: Libtool 1.5.23b
Date: Sat, 17 Feb 2007 18:59:02 -0800 (PST)

Should a single libtool handle both 32bit & 64bit builds on Solaris
with Sun Studio 11?

I tried using it to build libiconv-1.10 and got
cd src && gmake all
gmake[1]: Entering directory `/usr/local/src/gnu/libiconv-1.10/src'
/bin/sh ../libtool --mode=link cc -L/opt/lib/64 iconv_no_i18n.o ../srclib/libicr
t.a ../lib/ -o iconv_no_i18n
cc iconv_no_i18n.o -o .libs/iconv_no_i18n  -L/opt/lib/64 ../srclib/libicrt.a ../
lib/.libs/  -R/opt/lib/64
ld: fatal: file iconv_no_i18n.o: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to .libs/iconv_no_i18n
gmake[1]: *** [iconv_no_i18n] Error 1
gmake[1]: Leaving directory `/usr/local/src/gnu/libiconv-1.10/src'
gmake: *** [all] Error 2

The 64 bit configure line looks like this.

ID=/usr/xpg4/bin/id                             \
CFLAGS="-fast -xtarget=ultra -xcode=pic32 -xarch=v9" \
CPPFLAGS="-I/opt/include"                       \
LDFLAGS="-L/opt/lib/64"                         \
/opt/src/${DIR}/${PACKAGE}-${VER}/configure     \
        --prefix=/opt/mt/${PACKAGE}-${VER}      \
        --libdir=/opt/lib/64                    \
        --mandir=/opt/mt/${PACKAGE}-${VER}/man  \
        --enable-shared                         \
        2>&1 | tee x.conf

Tim Rice                                Multitalents    (707) 887-1469

reply via email to

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