[PD-dev] Cross compiling Pd
Max
abonnements at revolwear.com
Sun May 10 23:01:13 CEST 2020
I was hoping for this informative burn by IOhannes. :)
jokes aside, just in case anyone find this thread in the future, here is
what we did (no guarantee it is the sane thing to do but you get an
armv7 binary):
sudo dpkg --add-architecture armhf
sudo add-apt-repository "deb [arch=amd64,i386]
http://us.archive.ubuntu.com/ubuntu/ $(lsb_release -s -c) main
restricted universe multiverse"
sudo add-apt-repository "deb [arch=amd64,i386]
http://archive.ubuntu.com/ubuntu/ $(lsb_release -s -c)-updates main
restricted universe multiverse"
sudo add-apt-repository "deb [arch=amd64,i386]
http://archive.ubuntu.com/ubuntu/ $(lsb_release -s -c)-backports main
restricted universe multiverse"
sudo add-apt-repository "deb [arch=amd64,i386]
http://security.ubuntu.com/ubuntu $(lsb_release -s -c)-security main
restricted universe multiverse"
sudo add-apt-repository "deb [arch=arm64,armhf,ppc64el,s390x]
http://ports.ubuntu.com/ubuntu-ports/ $(lsb_release -s -c) main
restricted universe multiverse"
sudo add-apt-repository "deb [arch=arm64,armhf,ppc64el,s390x]
http://ports.ubuntu.com/ubuntu-ports/ $(lsb_release -s -c)-updates main
restricted universe multiverse"
sudo add-apt-repository "deb [arch=arm64,armhf,ppc64el,s390x]
http://ports.ubuntu.com/ubuntu-ports/ $(lsb_release -s -c)-updates main
restricted universe multiverse"
sudo add-apt-repository "deb [arch=arm64,armhf,ppc64el,s390x]
http://ports.ubuntu.com/ubuntu-ports/ $(lsb_release -s -c)-security main
restricted universe multiverse"
then there are some duplicated ones which need to be commented out...
sudo apt install crossbuild-essential-armhf
sudo apt install tk8.6:armhf libasound2-dev:armhf
./autogen.sh
ac_cv_func_realloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes
./configure --host=arm-linux-gnueabihf --prefix=$PWD/installdir
--disable-portaudio --disable-mmio --disable-oss # --enable-jack
--enable-fftw
make
make install
On 10.05.20 20:46, IOhannes m zmölnig wrote:
> On 5/10/20 4:40 PM, Max wrote:
>
More information about the Pd-dev
mailing list