Update your Symbian GCC toolchain
The university of Szeged has just released three Symbian compatible releases of the gcc compiler based on more recent GCC build. The goal of this port was to get rid of errors when the GCC optimisation options were activated. The Symbian GCC Improvement Project has released three differents version of its work:
GCC 2.9-psion-98r2 (Symbian build 3/546)
This version contains the patched GCC 2.9-psion-98r2 (Symbian build 546) and the original supporting toolchain. This release is a fix of the original Symbian toolchain to support optimisations.
GCC 2.95.3-psion-98r2 (Symbian build 11/546)
This version contains GCC 2.95.3 extended to support the Symbian target and modified to run on Cygwin 98r2 host. The toolchain is from GCC 2.9-psion-98r2 (Symbian build 546).
GCC 3.0-psion-98r2 (Symbian build 6/546)
This version contains GCC 3.0 compiler core and backend joined with the C++ frontend of GCC 2.97 (20010205), extended to support the Symbian target and modified to run on Cygwin 98r2 host. The toolchain is from GCC 2.9-psion-98r2 (Symbian build 546).
Benchmarks shows a possible decrease of up to 10% in code size with a 20% increased in speed.






> Update your Symbian GCC toolchain
All i can say is excellent! The new compilers are awesome, if not a little bit too picky about code.
What i observed is that 2.95.3 was great if you need to compile for small size, and 3.0 was quite some bit larger but faster aswell.
In my own tests i'd say an the increase in speed of 20% is accurate, maybe even a little more. Definately worth a try.
> Update your Symbian GCC toolchain
> Update your Symbian GCC toolchain
Installation instructions:
Backup your current epoc32\gcc folder (to be on the safe side), and then copy and overwrite the folder with the arhive's gcc folder. DON'T delete the currently present folder before copying the new folder. There might be files present in it which are required for the Symbian SDK to function. Try out some sample applications and keep your fingers crossed.
> Update your Symbian GCC toolchain
A new build of gcc 3.0-psion-98r2 has been released. The new build number is 7/546. It contains two modifications compared to build 6/546:
> Update your Symbian GCC toolchain
I have tried the GCC3.0 7/546 with my Codewarrior IDE. The code seems to compile correctly but I always get an error "COPY FOR DUP FAILED, handle in 0 6!!" at the beginning of the compilation process.
And I am not very sure that the Codewarrior IDE is still able to locate the errors in the source files (i.e. you get the compilation errors but the corresponding source code is not displayed - definitely not convenient).
Eric
> Update your Symbian GCC toolchain
> Update your Symbian GCC toolchain
Do tou know how to get GCC to build with -O0 (optimisation disabled) ? I would like to disable optimisation, so that "useless" variables are not discarded, and no lines would be combined or reordered.
This would make dubugging easier.