Added gcc 4x support. Actually, tested with version 4.1.2.
Into code, updated some constructs that were not compatible with gcc 4x.
Into config files, added compiler flags to suppress some warnings (turned as default since gcc 4x) and turned off optimizations for inline code, which generated unwanted calls to builtin memcpy.