Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to install some generally used cross compilation libraries (iconv, boost, …) on my Ubuntu system using multiarch. I remember that I saw a tutorial for that but I cannot find it at the moment using a search engine.

The tutorials I found so far are using the manual installation routines. My experiences with macports show that its is not generally advisable for libraries that are used in different projects. So I'd like to have a cross compilation environment that is fully integrated with an Ubuntu installation.

So far I know that I need to add an architecture to ostable and triplettable in /usr/share/dpkg. Downloading the source packages is no problem but I don't understand what is the best way to build such a package. I tried xapt and xdeb, but somehow they don't seem to recognize the right architecture.

Any hints/links to tutorials how I can build a boost.xxx.mingw32_i686.deb or similar package would be helpful.

share|improve this question
    
Debian does things differently from Ubuntu, so you need to ask on a site that supports Debian, we do not... –  Bruno Pereira Dec 30 '13 at 12:13
    
I know that Ubuntu does something different than debian. Nevertheless I did not find major differences in the packaging process, so far. And I didn't know that Ubuntu doesn't use the Debian package manager and the Debian multiarch specification any more. As far as I know Ubuntu was a driving party in the development of the Debian multiarch specification. I removed all references to Debian. Hope that helps. –  Tobias Schlemmer Dec 30 '13 at 15:30
    
@TobiasSchlemmer: As mentioned in the put-on-hold-as-off-topic banner below; if you ask this question on Unix & Linux, you have much better chances of receiving accurate answers. –  Aditya Dec 30 '13 at 17:15
    
Many Programmers are using Ubuntu systems just to have a Linux machine available doing their main development on Windows. Windows programmers usually prefer Ubuntu over pain Debian. It would help them to avoid switching the operating systems if there would be a clean way to install the libraries on Ubuntu. Some time ago I saw a tutorial for compiling some game on Ubuntu, if I'm not mistaken. It is more likely that a Debian user can use an Ubuntu tutorial for his goals than vice versa. I still have an Ubuntu 12.04 LTS machine as mobile computer, where I have the same problem. –  Tobias Schlemmer Dec 30 '13 at 18:01
    
The differences that you notice are not the issue here. Per our site policy Debian questions are off-topic, in our experience it doesn't work. I'll vote to reopen this because you have an Ubuntu machine however. –  Seth Dec 30 '13 at 21:16
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.