Hey,

> I have not posted to the cegcc list before, but have been working on some
> pythonCE projects, where cegcc might prove a useful tool (I hope). I realise
> that the following is not really a pythonCE topic, but thought it might be
> useful to some of the list's readers given some of the recent discussions.
>
> This post was really just to confirm that cegcc can be compiled from source
> (from the cegcc SF download page). I thought I should mention this, because
> I did not see any amd64 packages for cegcc, and there were very few posts
> relating to using cegcc with an amd64 processor or with debian (perhaps it
> has gone so smoothly for everyone that no questions were asked?).

I also have a 64 bits cpu (core2 duo) and i also compiled from source. But 
i really would like to have a package for that. And even more, a new 
version because the svn source code has several fixes. imho, it is worth 
having a 0.52 version.

> The steps I followed were:
>
> - download the source package (platform independent)
> - extract to a convenient folder
> - I used 'su' privileges (though sudo might be ok too)

it's only needed for the installation. Otherwise, it's not needed (i have 
installed cegcc and mingw32ce in $HOME/opt/)

Nice doc :)

regards

Vincent

> - run the 'build-cegcc.sh' script located in the cegcc/src folder
> - if errors occur, just go through the output carefully to locate any
> packages, which may not be present on your machine (I had to install 'bison'
> and 'flex' using the usual 'apt-get install' command)
> - IMPORTANT! before running the build script again, remove the 'build'
> folder that was created in the 'src' folder during the initial failed build
> attempt. If you do not do this the build script will almost certainly fail
> again.
> - it can take some time to build the entire package
> - I think there were some minor warnings/errors, but the cegcc structure and
> files all appeared correctly
> - check that the files are there in /opt/cegcc
> - if you want to be able to call the compilers from a Gnome terminal window
> you need to add this folder to the $PATH variable. To do this, simply edit
> the /etc/profile file (use 'su' or 'sudo' to do this) and add the following
> line at the end of the file:
>   "export PATH=$PATH:/opt/cegcc/bin"
> The change will only take effect the next time you open a terminal window
> - Now you can access the cegcc compilers from any folder. Type
> 'arm-wince-cegcc-gcc' to check that it works. The reply should be 'no input
> files'
> - Now I simply followed the 'getting started' steps at
> http://cegcc.sourceforge.net/docs/using.html
> - remembering to copy across the relevant DLL files to my PDA (cegcc.dll,
> cegccthrd.dll, and libstdc++.dll)
> - these DLLs will work if you put them in the same directory as the EXE you
> want to run, but a more sensible place for them is the main Windows
> directory. These DLLs add up to about 1MB, so you don't want to be
> duplicating them too much.
>
> That's it. I can confirm that the 'hello' dialog appears on my WM5 pda.
>
> hth (especially, like me if you are still just a beginner, or you are
> looking to get started quickly).
>
> Adam

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to