This is probably more appropriate for the libcurl mailing list but I
recently compiled libcurl with cegcc, quite easily, and I
thought I'd share:

All the toolchain executables are named arm-cegcc-* but I could not
choose arm-cegcc for my HOSTTYPE with configure.  So, I symbolically
linked the executables to arm-wince-*, and choose arm-wince as the
HOSTTYPE.  Here are the specific steps.

1. symbolicially link ~/opt/cegcc/bin/arm-cegcc-* to
~/opt/cegcc/bin/arm-wince

2. put the following in a file called runConfigure.sh.  Change PREFIX to
your installation of cegcc.
 
export PREFIX=/Users/marc/opt/cegcc
export PATH=$PREFIX/bin:$PATH
export HOSTTYPE=arm-wince
export CPPFLAGS="-I$PREFIX/include/c++/4.1.0 -I$PREFIX/include 
-I$PREFIX/lib/gcc/arm-cegcc/4.1.0/include/"
export CFLAGS="-I$PREFIX/include/c++/4.1.0 -I$PREFIX/include 
-I$PREFIX/lib/gcc/arm-cegcc/4.1.0/include/"
./configure --host=$HOSTTYPE --prefix=$PREFIX

and run

$ sh runConfigure.sh
$ make
$ make install


Thats it! Built out of the box for me, and works well.  

Since I was working with windows mobile 6.1, I needed to follow the
instructions in the cegcc faq for modifying the registry to add
cegcc.dll, and libstdc++.dll (for c++) for slot 0.  But this is a
general cegcc thing. 



------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to