| Summary: | resources to build SDL libs on ARM Ubuntu touch | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Sylvain <sylvain.becker> |
| Component: | build | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED ABANDONED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | philipp.wiesemann, prog |
| Version: | 2.0.3 | ||
| Hardware: | ARM | ||
| OS: | Linux | ||
| Attachments: |
Tutorial to build SDL for ARM Ubuntu Touch
Main script to build the chroot file ./debian/control file ./tools/setup-partial-armhf-chroot.sh Main script to build the chroot file ./tools/setup-partial-armhf-chroot.sh file ./debian/control file ./debian/control |
||
|
Description
Sylvain
2014-12-06 11:17:18 UTC
Created attachment 1956 [details]
Tutorial to build SDL for ARM Ubuntu Touch
Created attachment 1957 [details]
Main script to build the chroot
Created attachment 1958 [details]
file ./debian/control
Created attachment 1959 [details]
file ./tools/setup-partial-armhf-chroot.sh
Please note that to make it compile, I had to add ":${MIR_NDK_PATH}/usr/share/pkgconfig" to the "PKG_CONFIG_PATH" variable at line 116 or the "cross-compile-chroot.sh". Also, I had to run the "setup-partial-armhf-chroot.sh" directly (the "cross-compile-chroot.sh" didn't create the partial chroot automatically).
Thanks for the feedback! Just for information, here's the initial script "cross-compile-chroot.sh" : http://bazaar.launchpad.net/~mir-team/mir/development-branch/view/head:/cross-compile-chroot.sh It does not contain the "${MIR_NDK_PATH}/usr/share/pkconfig" directory, but you may be right! On the other hand, "/usr/share/pkconfig" is said to be a default directory (according to the man page). And the variable PKG_CONFIG_SYSROOT_DIR=$MIR_NDK_PATH should then make "${MIR_NDK_PATH}/usr/share/pkconfig" be the default directory for the chroot. About the second point. There should be no need to call "setup-partial-armhf-chroot.sh" manually. See the "cross-compile-chroot.sh" script. It uses it when called with option "-u" (update), or if the directory does not exist. Well, of course, I debugged it to make it compile. I did not investigate it more than that. But if you want, I can look at it on my pc. Don't worry. I just say it is working out of the box on my system. Just give a try with "-u" next time you use it. thanks. Created attachment 2399 [details]
Main script to build the chroot
Main script to build the chroot
Created attachment 2400 [details]
file ./tools/setup-partial-armhf-chroot.sh
update of file "./tools/setup-partial-armhf-chroot.sh"
Created attachment 2401 [details]
file ./debian/control
update of file ./debian/control
Created attachment 2403 [details]
file ./debian/control
update of file ./debian/control
This has been sitting here a long time; is this still reasonable to apply, Sylvain? --ryan. Hey Ryan, Nothing to apply. That was to provide help and documentation to build SDL2 based application for Ubuntu Touch. That worked a few years, now, it's somehow abandoned. |