Thanks buddy. I can work within the limitation as long as I know what it is. Could you or anyone define what is meant by RX memory? The only think I could find by googling it was Alzheimers medication, and I'm sure that's not what you meant Also, I'm not sure what is meant by compiling as -Os. Any advice on this would be appreciated.
My best guess is Readable and eXecutable memory, since RWX (Read Write eXecute) tends to be the holy grail.