Sunfish with GCC

Alex Waugh alex at
Fri Jul 1 03:55:29 PDT 2005

John Tytgat wrote:
> I did some investigation : the PIC register was also used for referencing
> function names and although this isn't most common C code, it is for
> modules & FS implementations.  I've commited a fix for this and I can
> build a working Sunfish.  Using GCC's -O3 and all sources specified in
> its command line so global optimsation can be done and a lot of time, 
> it ends up as a 237 KByte module (the official v1.07 release is 187 KByte
> big).

Great. I'll give it a try over the weekend.

>>Removal of "##" in the headers, which GCC 3.4 objects to unless used in
>>specific circumstances
>>Addition of "LL" onto some 64-bit literals.
> Probably fixed in the v1.07 release because I didn't had to do those
> two things.  Or maybe I was using more relaxing compiler settings ?

Yes, these two fixes made it in to version 1.07


Alex Waugh                                           alex at

PHP, Roots, Subversion, WebJames and more from

More information about the gcc mailing list