[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gettext] Cross compile for nios2-linux
From: |
Bruno Haible |
Subject: |
Re: [bug-gettext] Cross compile for nios2-linux |
Date: |
Sun, 2 Oct 2011 11:41:52 +0200 |
User-agent: |
KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; ) |
Hi,
MOGANESHWARAN RAJASEGARAN wrote:
> 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 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
Please look in the file config.log, near the line "checking whether the C
compiler works", and you will find details about why this error occurs.
It is either due to the options that you passed to 'configure', or to the
installation of your cross-compiler.
Bruno
--
In memoriam Bartolomé Blanco Márquez
<http://en.wikipedia.org/wiki/Bartolome_Blanco_Marquez>