There are no modifications to the compiler necessary to support the gp2x. Perhaps some gp2x specific libraries could be usefull, but this is not a task of the compiler. (Afaik SDL is used currently.)