Hi,

Hope someone can me help me...
I want to use cegcc for compile libraries (GMP, lidia etc...) for Windows CE
with cegcc (some libs containing errno.h).

My configuration is:

export PATH=$PATH:/home/tobi/Downloads/opt/cegcc0.55/bin/
export CEGCC_PATH=/home/tobi/Downloads/opt/cegcc0.55
export WINCE_PATH=/opt/wince

export PATH=$CEGCC_PATH/bin:$PATH
export CPPFLAGS="-I$WINCE_PATH/include"
export LDFLAGS="-L$WINCE_PATH/lib -L$CEGCC_PATH/lib"
export LD_LIBRARY_PATH="$WINCE_PATH/bin"
export PKG_CONFIG_PATH="$WINCE_PATH/lib/pkgconfig"
export PKG_CONFIG_LIBDIR="$WINCE_PATH/lib/pkgconfig"

Then I run ./configure with these parameters (actually same result if I run
"./configure host=arm")

./configure RANLIB=arm-cegcc-ranlib CXX=arm-cegcc-g++ CC=arm-cegcc-gcc
--host=arm-pe-wince CFLAGS="-I/opt/wince/include -mwin32 -DWIN32
-D_WIN32_WCE=0x0400 -D_WIN32_IE=0x0400 -Wl,--enable-auto-import"
LDFLAGS="-L/opt/wince/lib" --prefix=/opt/wince/ WINDRES=arm-cegcc-windres


The problem is that ./configure always exits with the same error no matter
which library I want to compile....

Output configure:
-----------------
checking build system type... i686-pc-linux-gnuaout
checking host system type... arm-pe-wince
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for arm-pe-wince-strip... no
checking for strip... strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=standard
checking whether arm-cegcc-gcc is gcc... yes
checking compiler arm-cegcc-gcc -I/opt/wince/include -mwin32 -DWIN32
-D_WIN32_WCE=0x0400 -D_WIN32_IE=0x0400 -Wl,--enable-auto-import
-I/opt/wince/include... no
configure: error: could not find a working compiler, see config.log for
details
-----------------

config.log:
-----------------
...
Test compile: 
configure:3900: arm-cegcc-gcc -I/opt/wince/include -mwin32 -DWIN32
-D_WIN32_WCE=0x0400 -D_WIN32_IE=0x0400 -Wl,--enable-auto-import
-I/opt/wince/include conftest.c >&5
/home/tobi/Downloads/opt/cegcc0.55/bin/../lib/gcc/arm-cegcc/4.1.0/../../../.
./arm-cegcc/bin/ld: cannot find -lcoredll
collect2: ld returned 1 exit status
configure:3903: $? = 1
failed program was:

int main () { return 0; }
configure:4926: result: no
configure:5164: error: could not find a working compiler, see config.log for
details

arm-cegcc/bin/ld says that he cannot find the "coredll"?
Does someone know or has some ideas how to fix this error? I am using cegcc
0.55 @ Ubuntu 9.10....

Cheers,
Tobi


------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to