bug-gnu-libiconv
[Top][All Lists]
Advanced

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

[bug-gnu-libiconv] Cross Compilation for uclinux


From: MOGANESHWARAN A/L RAJASEGARAN
Subject: [bug-gnu-libiconv] Cross Compilation for uclinux
Date: Sun, 25 Sep 2011 03:08:08 +0800

Hi,

I am working on a project on ucLinux which requires libiconv. I want to cross-compile this library as static library. But it always fail.

this is the command I use:

./configure --enable-static --disable-shared --build=i686-pc-linux-gnu --host=nios2-unknown-linux-gnu --prefix=/home/captain/Programs/nios2-linux/uClinux-dist/staging/usr LDFLAGS="-Wl,-elf2flt" CC="nios2-linux-uclibc-gcc"

The result of configure is always like this:


checking whether the nios2-linux-uclibc-gcc linker (/opt/nios2/usr/bin/nios2-linux-uclibc-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether the -Werror option is usable... yes


The cross-compilation does not want to create static library. Any help would be appreciated.

Thanks.

Regards,
Moganesh

reply via email to

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