Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I recently ordered a BeagleBoard-xM. I know that it has ARM architecture. I am building a custom Debian OS with live-build. My question is: How can I build an ARM compiled Debian on i386 using live-build?
I recently ordered a BeagleBoard-xM. I know that it has ARM architecture. I am building a custom Debian OS with live-build. My question is: How can I build an ARM compiled Debian on i386 using live-build?
From the Debian Live lb config man page
Quote:
-a|--architectures ARCHITECTURE
defines the architecture of the to be build image. By default, this
is set to the host architecture. Note that you cannot crossbuild
for another architecture if your host system is not able to execute
binaries for the target architecture natively. For example, build-
ing amd64 images on i386 and vice versa is possile if you have a
64bit capable i386 processor and the right kernel. But building
powerpc images on an i386 system is not possible.
So in answer to your question you can't do it, also I'm not sure ARM is even supported in Live Build.
Hmmmm.....I have read that live build does take the architecture of the host system as default and builds the system based off the host info. Since Debian does have ARM OS ports then it must have software repos that have pre-compiled ARM software too. So a possible new game plan is to wait for my BeagleBoard to show up, install a Mini-Debian onto it, and then use live-build on it. I think it might work. Not quite sure...lol
You can only build a system that will run on the host system. So an x86-64 will successfully build an x86 but you can't build anything an x86-64 can't run natively and likewise you can't build anything on an x86 that it wont run natively.
Here is the Debian Packages page for a search on Live. You can see that yes it should work on ARM architectures but you will need an ARM compatible machine to create an ARM live system on.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.