Porting i386 Apps To StrongARM?
OneWindCat asks: "I wonder how tough it will be to port i386-targeted apps to StrongARM. I have Linux server from Rebel.com and it has StrongARM processor (low-power consuption, ~12 Wt in running mode) based architecture. I wanted to know if anyone has gone through the pain of compiling source code for such a machine and what the outcome was. Or better yet, is there an i386 emulator written for StrongARM? Performance is not an issue, since I plan to use i386 machine as an Xterminal."
I have an Acorn RiscPC at home.
I used to install RiscBSD (an ARM-aimed netBSD port) ont it.
It rocked.
Concerning the apps, I used old source CDs most of which usually compiled fine : mSQL, xChomp, etc.
So, I think you can go, try to compile, eventually adapt some statements and you'll be successfull more than often.
Good luck.
Trolling using another account since 2005.
any properly written code will compile on any arch.
I heard there are these new fangled thing called 'ANSI C' and POSIX. You might want to look into them.
Scuttlemonkey is a troll
If you are looking at porting GNU/Linux/Unix apps, then it is generally pretty easy. The older, and better written apps tend to port more cleanly, along with anything that uses `configure` to resolve system dependancies. I used to work on a University suport team and we would have to compile the same application for HP/UX, Linux, SunOS, Solaris and NeXTStep. Most stuff went cleanly, or with a few tweaks to take care of libs.
It can't be too hard, since there are a couple of linux-based ARM machines out there already. Most closely related to your interests is the netwinder. Be sure to check out http://www.arm.linux.org.uk/
- Mike
There are several newsgroups for netwinder dev issues.
I was on the mailing lists that preceded these, and the main issue I can recall was struct alignments. A lot of code expects things like
struct { char a; char b; char c; char d }
to fit into four bytes, when 4-byte alignment may push it to 16.
---- "If we have to go on with these damned quantum jumps, then I'm sorry that I ever got involved" - Erwin Schrodinger