com/ubuntu xenial-backports main restricted universe multiverseĭeb ports.ubuntu. com/ubuntu xenial-security main restricted universe multiverseĭeb archive. com/ubuntu xenial main restricted universe multiverseĭeb security. You might try modifying your sources.list files like this:ĭeb archive. How can I accomplish this goal of mine? It sounds like it would be far less hassle than manually building all the dependencies myself. ![]() Unfortunately, I don't know how to do either of these steps, or there may be a hidden third option that's better which I'm unaware of. deb files using aptitude, and extract them to a local folder, and explicitly pass the folder path in my Makefile. list file and enable some additional multi-arch settings. I think the command I'm using is wrong, or I need to make some changes to my /etc/apt/ sources. Install the arm64/armhf variants, if possible, via apt-get. How can I pull development libraries and make them available for the cross-compilers on my system? There are two ways I can think of: net/ubuntu/ xenial/ arm64 and https:/ /launchpad. I've also tried using `sudo dpkg -add-architecture arm64`, but apt-get update fails afterwards, since the apt repos do not have an arm64/armhf directory structure like the LaunchPad repos (ie: https:/ /launchpad. For pulling the appropriate packages though, something like sudo apt-get install libssl-dev:arm64 or sudo apt-get install libssl-dev:armhf fails. Specify building against x86 by adding: CFLAGS+=-m32.įor the latter of these two steps, I just use the appropriate cross-compiler: easy enough. Pulling the x86 version of a library (ie: for libssl-dev, I issue: sudo apt-get install libss-devl:i386). On my Xenial 64-bit system, I can install x86 compatibility libraries so I can cross compile for 32-bit systems easily enough, by: deb packages from the apt-get repos using aptitude, but this only solves part of my problem. I'm trying to find a way to pull all these dependencies from the pre-built archives for Xenial (Ubuntu 16.04 LTS) for the arm64 and armhf architectures.įrom reading a separate post, I found out that I can pull complete. I am able to build my projects successfully, but there's a caveat: I had to prebuild a ton of dependencies in advance, including gtkmm, gtkmm-dev, glademm, cairo, etc, so get the GUI components of my project supported on all 4 build variants. ![]() I already have the necessary tools in place in my Makefile, along with the following toolchains which I installed via apt-get: I am attempting to configure a multi-arch build system to build armhf, arm64, i386/x86, and amd64/圆4 builds of a Linux project of mine.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |