Re: Nokia n900 and Euphoria
- Posted by mattlewis (admin) May 25, 2011
- 5202 views
It seems you changed the functionality of --plat argument in 'configure' to set the ARCH variable in Makefile.eu. Instead of testing for--plat ARM, you should make configure test an argument like --arch ARM for that purpose.
Ok, I can do that. For testing on my system, I had hardcoded ARM related changes and was trying to avoid that in the patch. I used the --plat option because I noticed it when running ./configure --help. I actually didn't notice the --arch option in the configure script. Essentially, I have a couple places in the source files that look for an #ifdef ARM and make the neccessary changes, like the CALLBACK size macro for example. Is this the right way to go about it?
The arch configurability is still pretty new. But I'd agree that the ARM belongs there. The platform is still Linux. I don't know enough about ARM to know if one ARM is basically the same as any other. It's possible we'll need to get more specific at some point. Currently, the arch option is used to distinguish between x86 and x86-64.
Matt