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.