bug-gettext
[Top][All Lists]
Advanced

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

[bug-gettext] Cross compile for nios2-linux


From: MOGANESHWARAN RAJASEGARAN
Subject: [bug-gettext] Cross compile for nios2-linux
Date: Sun, 2 Oct 2011 15:45:12 +0800

Hi,

I want to cross-compile gettext for nios2-linux. But the configuring part is causing error.

Command i use:
./configure --enable-shared --build=i686-pc-linux-gnu --host=nios2-unknown-linux-gnu --prefix=/home/nuar/Programs/nios2-linux/uClinux-dist/staging/usr/ CC="nios2-linux-gcc" CFLAGS="-c -Wall"

The error:



checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for nios2-unknown-linux-gnu-strip... no
checking for strip... strip
configure: WARNING: using cross tools not prefixed with host triplet
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... nios2-unknown-linux-gnu
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gnulib-local/Makefile
=== configuring in gettext-runtime (/home/nuar/Desktop/gettext-0.18.1.1/gettext-runtime)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/home/nuar/Programs/nios2-linux/uClinux-dist/staging/usr'  '--enable-shared' '--build=i686-pc-linux-gnu' '--host=nios2-unknown-linux-gnu' 'CC=nios2-linux-gcc' 'CFLAGS=-c -Wall' 'build_alias=i686-pc-linux-gnu' 'host_alias=nios2-unknown-linux-gnu' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for nios2-unknown-linux-gnu-strip... no
checking for strip... strip
configure: WARNING: using cross tools not prefixed with host triplet
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for nios2-unknown-linux-gnu-gcc... nios2-linux-gcc
checking whether the C compiler works... no
configure: error: in `/home/nuar/Desktop/gettext-0.18.1.1/gettext-runtime':
configure: error: C compiler cannot create executables
See `config.log' for more details.
configure: error: ./configure failed for gettext-runtime

Moganesh

reply via email to

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