[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mingw32 cross-compile: sys_lib_search_path setting insuffient
From: |
Sebastien Sable |
Subject: |
Re: mingw32 cross-compile: sys_lib_search_path setting insuffient |
Date: |
24 Jul 2001 19:34:17 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Sebastien Sable <address@hidden> writes:
> Could this be the reason of this problem ? :
>
> *** Warning: This library needs some functionality provided by -lbraille.
> *** I have the capability to make that library automatically link in when
> *** you link to this library. But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.
> *** The inter-library dependencies that have been dropped here will be
> *** automatically added whenever a program is linked with this library
> *** or is declared to -dlopen it.
OK that was it indeed! I just had to modify this :
sys_lib_search_path_spec="
/usr/local/cross-tools/i386-mingw32msvc/bin/../lib/gcc-lib/i386-mingw32msvc/2.95.3/:/usr/local/cross-tools/i386-mingw32msvc/bin/../lib/gcc-lib/:/usr/local/cross-tools/lib/gcc-lib/i386-mingw32msvc/2.95.3/:/usr/lib/gcc/i386-mingw32msvc/2.95.3
...
to this :
sys_lib_search_path_spec="
/usr/local/cross-tools/i386-mingw32msvc/bin/../lib/gcc-lib/i386-mingw32msvc/2.95.3
/usr/local/cross-tools/i386-mingw32msvc/bin/../lib/gcc-lib
/usr/local/cross-tools/lib/gcc-lib/i386-mingw32msvc/2.95.3
/usr/lib/gcc/i386-mingw32msvc/2.95.3 ...
Great. But I still have the problem with the wrong $host_cc defined to
compile impgen.c so I have to do it by hand.
/bin/sh ./libtool --mode=link c++ -g -O2 -o libblind.la -rpath
/usr/local/cross-tools/i386-mingw32msvc/lib -no-undefined --noinhibit-exec
-mcoonsole --export-all-symbols csdemo.lo audioenv.lo avenvironment.lo
object.lo -lopenal32
extracting exported symbol list from `OpenAL32.dll'
test -f .libs/impgen.c || \
sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here
\*\// { s/^# //;s/^# *$//; p; }" -e d < ./libtool > .libs/impgen.c
test -f .libs/impgen.exe || (cd .libs && \
if test "x" != "x" ; then -o impgen impgen.c ; \
else gcc -o impgen impgen.c ; fi)
.libs/impgen /usr/local/cross-tools/i386-mingw32msvc/lib/OpenAL32.dll >
.libs/OpenAL32.dll-def
./libtool: .libs/impgen: cannot execute binary file
make: *** [libblind.la] Erreur 126
Hopefully I don't have to release win32 dlls too often. But I sure
would appreciate an updated libtool concerning those two problems. If
anyone as a temporary patch for libtool before an official correction,
please send it to me.
bye
--
Sébastien Sablé <address@hidden>
http://inova.snv.jussieu.fr/~sable/