Thanks a lot for your quick reply.
I tried it again with following command, unfortunately it gives another
error.
./configure CC= /opt/cegcc/bin/arm-cegcc-gcc --enable-fixed
--without-lapack --target=arm-wince-pe --build=i686-linux
--prefix=/home/eric/WinCE/sphinxBase
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: /opt/cegcc/bin/arm-cegcc-gcc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for /opt/cegcc/bin/arm-cegcc-gcc-strip... no
checking for strip... strip
configure: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to [EMAIL PROTECTED]
checking build system type... i686-pc-linux-gnu
checking host system type... Invalid configuration
`/opt/cegcc/bin/arm-cegcc-gcc': machine `/opt/cegcc/bin/arm-cegcc' not
recognized
configure: error: /bin/bash ./config.sub /opt/cegcc/bin/arm-cegcc-gcc failed
pls give some help me to resolve this.
On Thu, Jul 10, 2008 at 12:17 PM, Vincent Torri <[EMAIL PROTECTED]> wrote:
>
>
> On Thu, 10 Jul 2008, Eric Perera wrote:
>
> I want to run configure script With CeGCC and tried it with command below,
>>
>> ./configure CC= /opt/cegcc/bin/arm-cegcc-gcc --enable-fixed
>> --without-lapack --host=arm-wince-pe --build=i686-linux
>> --prefix=/home/eric/WinCE/sphinxBase
>>
>
> use --target instead of --host
>
> ./configure CC=
>> /opt/cegcc/bin/arm-cegcc-c++ --enable-fixed --without-lapack
>> --host=arm-wince-pe --build=i686-linux
>> --prefix=/home/eric/WinCE/sphinxBase
>>
>
> same remark. CXX instead of CC. CC is the var for the C compiler, CXX for
> the C++ compiler
>
> I think that the problem is the --host
>
> Vincent
>
> finally I got the error listed below and hope someone can help me to run a
>> configure script with CeGCC.
>>
>>
>> configure: WARNING: you should use --build, --host, --target
>> configure: WARNING: invalid host type: /opt/cegcc/bin/arm-cegcc-gcc
>> configure: WARNING: you should use --build, --host, --target
>> configure: WARNING: invalid host type: /opt/cegcc/bin/arm-cegcc-c++
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking whether build environment is sane... yes
>> checking for a thread-safe mkdir -p... /bin/mkdir -p
>> checking for gawk... no
>> checking for mawk... mawk
>> checking whether make sets $(MAKE)... yes
>> checking for arm-wince-pe-strip... no
>> checking for strip... strip
>> configure: WARNING: In the future, Autoconf will not detect cross-tools
>> whose name does not start with the host triplet. If you think this
>> configuration is useful to you, please write to [EMAIL PROTECTED]
>> checking build system type... i686-pc-linux-gnu
>> checking host system type... arm-wince-pe
>> checking for style of include used by make... GNU
>> checking for arm-wince-pe-gcc... no
>> checking for gcc... gcc
>> checking for C compiler default output file name...
>> configure: error: C compiler cannot create executables
>> See `config.log' for more details.
>>
>>
>> regards
>> Eric
>>
>> --
>> Ce message a été vérifié par MailScanner
>> pour des virus ou des polluriels et rien de
>> suspect n'a été trouvé.
>> Message délivré par le serveur de messagerie de l'Université d'Evry.
>>
>>
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel