Re: ARM port
- Posted by Jerome Aug 28, 2011
- 5450 views
I downloaded the package but it is not configured to compile on ARM machine.
I have a Efika netbook with ubuntu installed.
1)I go to source directory
2)./configure
3) make
gcc complain that -m32 option doesn't exist. I can't blame it -m32 is an intel cpu option...
I have been using euphoria to write apps for my Linux-based phone with an ARM processor. I like using Scratchbox to do my cross-compiling because it helps me keep the different environments separate. In my setup, I have a normal x86 environment and an ARM environment. I do the following in my x86 environment to get started:
cd source ./configure --arch ARM make source
This allows me to use the pre-built euphoria binaries to compile the source. I then switch to to my ARM environment to generate ARM based binaries that run on my phone.
make
I just tried this out with the 4.1 ARM euphoria branch it works great!
Hope this helps,
Ira