[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mingw-cross-env-list] Trying to compile shared - libidn fails
From: |
Dennis Volodomanov |
Subject: |
[Mingw-cross-env-list] Trying to compile shared - libidn fails |
Date: |
Thu, 24 Nov 2011 16:33:48 +1100 |
Hello all,
I'm now trying to compile shared libs, I've changed all "--disable-shared" to
"--enable-shared" (and in some cases added "--disable-static", if configure
failed).
I'm having a problem with building libidn. It gives me the following error:
'i686-pc-mingw32-gcc' -W -Wall -Werror -ansi -pedantic '.src/libidn-test.c' -o
'/opt/mingw/usr/i686-pc-mingw32/bin/test-libidn.exe'
`'i686-pc-mingw32-pkg-config' libidn --cflags --libs`
I686-pc-mingw32-gcc: error: unrecognized option '-R'
Looking through the log I see this:
/bin/sh ../../libtool --tag=CC --mode=link i686-pc-mingw32-gcc -std=gnu99
-fvisibility=hidden -g -O2 -no-undefined -L/opt/mingw/usr/i686-pc-mingw32/lib
-liconv -R/opt/mingw/usr/i686-pc-mingw32/lib
-L/opt/mingw/usr/i686-pc-mingw32/lib -lintl
-L/opt/mingw/usr/i686-pc-mingw32/lib -liconv
-R/opt/mingw/usr/i686-pc-mingw32/lib -L/opt/mingw/usr/i686-pc-mingw32/lib
-liconv -R/opt/mingw/usr/i686-pc-mingw32/lib -o libgnu.la c-ctype.lo
c-strcasecmp.la c-strncasecmp.lo striconv.lo strverscmp.lo
Running "i686-pc-mingw32-gcc --help" shows that there's no "-R" parameter...
Thank you in advance for your ideas!
Best regards,
Dennis
- [Mingw-cross-env-list] Trying to compile shared - libidn fails,
Dennis Volodomanov <=