“C” Tagged Pages

Scanning for ABLD Errors and Warnings

Revised on
Created on

Symbian’s ABLD build system tends to produce a lot of output, especially when run with the verbose flag (-v), as I like to do to see the compiler invocations. Also, ABLD likes to run to “completion” despite individual build steps failing. The end result is that it takes some effort to look for the errors and warnings in the output. Some suggest scanning ABLD output in order to terminate the build on error or to highlight errors and warnings.

Read more…

On Patching S60 SDKs for GCCE 4 Compatibility

Written on

I’ve tried GCCE version 4 before for building Symbian software, but have been somewhat put off by all the warnings it produces, mostly due to incompatibilities with the header files in the existing S60 SDKs. Well, I finally managed to get a working S60 application built with GCCE 4 without any warnings. Mind you, this was just one application, and not built with the full Symbian toolchain, but still. I used the S60 5th Edition SDK with a number of patches, some of which I have posted here.

Read more…

C Socket Code in Ruby

Written on

When designing socket code to be implemented in C, it may well make sense to first sketch out the design in Ruby. The Socket class provides thin wrappings for just about all of the relevant C standard library functions. There also is the fcntl module, and select in Kernel. The socket code can thus be just about the same in Ruby as it would be in C, but trying out different designs for say managing sessions in a server is much less tedious in Ruby.

Read more…