why does libtool reorder -Wl, arguments to the end making -Wl, --as-needed unusable

2008-02-28 Thread Petteri Räty
[EMAIL PROTECTED] /mnt/checkouts/classpath/native/jni/qt-peer $ make make all-am make[1]: Entering directory `/mnt/checkouts/classpath/native/jni/qt-peer' /bin/sh ../../../libtool --tag=CXX --mode=link g++ -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -g -O

'make' w/ latest 1.5-branch (1.5.27a) fails @ "X--tag=CC: command not found"

2008-02-28 Thread snowcrash+libtool
hi, i've glibtool --version ltmain.sh (GNU libtool) 1.5.27a (1.1220.2.497 2008/02/14 23:48:55) installed on uname -v Darwin Kernel Version 9.2.0: Tue Feb 5 16:15:19 PST 2008; root:xnu-1228.3.13~1/RELEASE_PPC atm, i'm building latest IDN, ftp://alpha.gnu.org/pub/gnu/libidn/libidn-1.5.t

Re: problem with libtool generated version script and underscores

2008-02-28 Thread Aleksey Demakov
Hi all, Are there any comments on my patch? Is there anything wrong with it? Regards, Aleksey ___ http://lists.gnu.org/mailman/listinfo/libtool

Re: 'make' w/ latest 1.5-branch (1.5.27a) fails @ "X--tag=CC: command not found"

2008-02-28 Thread Peter O'Gorman
snowcrash+libtool wrote: > hi, > > i've > > glibtool --version > ltmain.sh (GNU libtool) 1.5.27a (1.1220.2.497 2008/02/14 23:48:55) > > installed on > > uname -v > Darwin Kernel Version 9.2.0: Tue Feb 5 16:15:19 PST 2008; > root:xnu-1228.3.13~1/RELEASE_PPC > > atm, i'm building latest I

Re: 'make' w/ latest 1.5-branch (1.5.27a) fails @ "X--tag=CC: command not found"

2008-02-28 Thread Peter O'Gorman
Peter O'Gorman wrote: > snowcrash+libtool wrote: >> atm, i'm building latest IDN, >> >> ftp://alpha.gnu.org/pub/gnu/libidn/libidn-1.5.tar.gz >> >> from src. out of the box, >> >> ./configure >> make >> >> completes without error. but, if i first, >> >> glibtoolize -f -c >> autoreconf -f -i N

Re: problem with libtool generated version script and underscores

2008-02-28 Thread Mike Frysinger
libtool automatically discovers the prefix in _LT_CMD_GLOBAL_SYMBOLS and stores the result into ac_symprfx (in libtool.m4). i think all we need to do is have _LT_LINKER_SHLIBS declare an m4_require on _LT_CMD_GLOBAL_SYMBOLS and then we can use ac_symprfx in archive_expsym_cmds by adding an expr

Re: why does libtool reorder -Wl, arguments to the end making -Wl, --as-needed unusable

2008-02-28 Thread Albert Chin
On Thu, Feb 28, 2008 at 03:17:54PM +0200, Petteri Räty wrote: > [EMAIL PROTECTED] /mnt/checkouts/classpath/native/jni/qt-peer $ make > make all-am > make[1]: Entering directory `/mnt/checkouts/classpath/native/jni/qt-peer' > /bin/sh ../../../libtool --tag=CXX --mode=link g++ -DQT_SHARED > -I/us