I'd like to create a PPA that hosts additional builds of
binutils-cross, as Ubuntu and Debian only provide them for common architectures (there's no official
ia64-cross build for Trusty or Wheezy, for example).
The only change that's necessary for this is to set the contents of the
debian/target file to the target architecture (e.g.
After setting up a launchpad account and signing the Code of Conduct, what steps do I need to publish this?
The normal steps I'd invoke to build the software locally are, for example:
apt-get source binutils cd binutils-* export DEB_TARGET_ARCH=ia64-linux-gnu echo ia64-linux-gnu > debian/target dpkg-buildpackage -us -uc
I'm completely new to PPA and Launchpad, so I apologize if this is a silly question.
Note that I am not asking how to build a
mips or any foreign-architecture binary on Launchpad. Binaries emitted in this manner are i386 or x86_64 binaries, which themselves can assemble/disassemble/etc for foreign architectures.
This is to build the
mips equivalent of the
$ dpkg -S $(which mips-linux-gnu-as) binutils-mips-linux-gnu: /usr/bin/mips-linux-gnu-as $ file $(which mips-linux-gnu-as) /usr/bin/mips-linux-gnu-as: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=44e6366aeea6fb2b12b7e39aec2394fef86c642c, stripped $ uname -a Linux ubuntu 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:58:42 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux $ echo nop | mips-linux-gnu-as - $ file a.out a.out: ELF 32-bit MSB relocatable, MIPS, MIPS-I version 1 (SYSV), not stripped