Hello,
I'm actually trying to compile my lib for linux on a debian jessie virtual box. So far I managed to build against the native architecture (x86_64). Now I'm trying to build the 32 bit version. I installed gcc-multilib and g++-multilib because some system libraries were missing. I also added cflags += -m32 in my makefile, and set the PDINCLUDEDIR var to /usr/include/pd (I installed pd using apt-get) Is there a more straightforward way to achieve this using pd-lib-builder ? I couldn't find a clear information in the docs / issues ...
Thanks, Joseph
For your information ... I ended up installing a 32 bit debian on a new virtual box and the compilation worked perfectly, without altering the makefile or anything else. So this was probably the most straightforward way :) Cheers, Joseph
Le 09/11/18 à 14:40, Joseph Larralde a écrit :
Hello,
I'm actually trying to compile my lib for linux on a debian jessie virtual box. So far I managed to build against the native architecture (x86_64). Now I'm trying to build the 32 bit version. I installed gcc-multilib and g++-multilib because some system libraries were missing. I also added cflags += -m32 in my makefile, and set the PDINCLUDEDIR var to /usr/include/pd (I installed pd using apt-get) Is there a more straightforward way to achieve this using pd-lib-builder ? I couldn't find a clear information in the docs / issues ...
Thanks, Joseph
as long as we're at, can you tell me which machine are you using? I'm looking for alternatives to also compile to 32 bit linux, I have a mac but also a PC (64 bits with both windows/linux). cheers
Em sex, 9 de nov de 2018 às 19:39, Joseph Larralde < joseph.larralde@gmail.com> escreveu:
For your information ... I ended up installing a 32 bit debian on a new virtual box and the compilation worked perfectly, without altering the makefile or anything else. So this was probably the most straightforward way :) Cheers, Joseph
Le 09/11/18 à 14:40, Joseph Larralde a écrit :
Hello,
I'm actually trying to compile my lib for linux on a debian jessie virtual box. So far I managed to build against the native architecture (x86_64). Now I'm trying to build the 32 bit version. I installed gcc-multilib and g++-multilib because some system libraries were missing. I also added cflags += -m32 in my makefile, and set the PDINCLUDEDIR var to /usr/include/pd (I installed pd using apt-get) Is there a more straightforward way to achieve this using pd-lib-builder ? I couldn't find a clear information in the docs / issues ...
Thanks, Joseph
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
I'm using a macbook from 2015 running el capitan. I have a bootcamp partition with windows 10 installed which I use for windows debugging and compilation. I already had virtualbox installed on the osx partition with a debian jessie 64 bit virtual machine. I just created another virtual machine in virtualbox and installed a freshly downloaded debian stretch 32 bit on it. Now it seems everything is compiling fine everywhere with the same Makefile (didn't try on arm architectures yet, though).
If you want to have a look, here's the original repository : https://github.com/josephlarralde/jl.pd.lib
I am far from continuous integration but I'm happy with this workflow at the moment (and I never used any CI tool). If it becomes too tedious, I'll consider more optimal solutions. I'm pretty sure you can compile for any target from a linux distribution but I never did that, and I have no clue how to do it.
Cheers
Le 10/11/18 à 01:45, Alexandre Torres Porres a écrit :
as long as we're at, can you tell me which machine are you using? I'm looking for alternatives to also compile to 32 bit linux, I have a mac but also a PC (64 bits with both windows/linux). cheers
Em sex, 9 de nov de 2018 às 19:39, Joseph Larralde <joseph.larralde@gmail.com mailto:joseph.larralde@gmail.com> escreveu:
For your information ... I ended up installing a 32 bit debian on a new virtual box and the compilation worked perfectly, without altering the makefile or anything else. So this was probably the most straightforward way :) Cheers, Joseph Le 09/11/18 à 14:40, Joseph Larralde a écrit : > Hello, > > I'm actually trying to compile my lib for linux on a debian jessie > virtual box. > So far I managed to build against the native architecture (x86_64). > Now I'm trying to build the 32 bit version. > I installed gcc-multilib and g++-multilib because some system > libraries were missing. > I also added cflags += -m32 in my makefile, and set the PDINCLUDEDIR > var to /usr/include/pd > (I installed pd using apt-get) > Is there a more straightforward way to achieve this using > pd-lib-builder ? > I couldn't find a clear information in the docs / issues ... > > Thanks, > Joseph _______________________________________________ Pd-dev mailing list Pd-dev@lists.iem.at <mailto:Pd-dev@lists.iem.at> https://lists.puredata.info/listinfo/pd-dev