glibtool question
glibtool question
- Subject: glibtool question
- From: plumber Idraulico <email@hidden>
- Date: Thu, 24 Nov 2005 08:13:57 +0100
glibtool: compile: unable to infer tagged configuration
glibtool: compile: specify a tag with `--tag'
the configure tag is not the same i know
why the default is not --tag=CC and BASTA ! ( --disable-libtool-lock ? )
or
unrecognized option `-syslibroot'
libtool: can't map file: ...
it seems that libtool split LDFLAGS not correctly
hi, there i've sometimes this problem with glibtool
when i "cross-comp" between ppc and x86
SUB_CC="gcc-3.5"
SUB_PROJECT_SDK="/Developer/SDKs/Darwin7u.sdk-8"
SUB_LD_X86=" -arch i686 -Wl,-syslibroot,$SUB_PROJECT_SDK \
$SUB_PROJECT_SDK/usr/lib/libSystem.dylib"
SUB_MAKEFILE="Makefile"
CONFIG_OPTIONS=--disable-dependency-tracking \
--disable-libtool-lock \
--enable-static=yes \
--enable-shared=yes \
--prefix=${SUB_PROJECT_PREFIX}
make -f ${SUB_MAKEFILE} CC="${SUB_CC}" LDFLAGS="${SUB_LD_X86}"
i've also tried
make -f ${SUB_MAKEFILE} CC="${SUB_CC} ${SUB_LD_X86}"
and CFLAGS ...
but it's not the problem
--enable-shared=yes
when i do the same with --enable-shared=no --enable-static=yes
it works well and the lib archive is built correctly
does anybody have a solution? ( not re-glibtoolize all the open-
source world :) )
Best Regards
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden