Hello the Xenomai team, First of all I thank you for all your previous answers. Xenomai 3.1 (skins included) is working fine on arm 32bits ! Now I am trying to find a way to do the same thing on x86 - ipipe 4.19.177+
My current code is supposed to work on 32bits and I can't upgrade it to 64bits. I know x86_32 is officially no more supported for ipipe patch since February, that is why my idea was to get an ipipe x86_64 (I already installed it on the machine) and compile Xenomai librairies in 32bits. My commands - I try to cross compile: ./configure --host=i686-linux-gnu CFLAGS="-m32 -O2" LDFLAGS="-m32" --with-core=cobalt --enable-smp --enable-pshared https://paste.ubuntu.com/p/h74GSvMjP9/ (I also tried to add -march=i686 in CFLAGS without success The two lines below produce the same errors : make ARCH=i686 CROSS_COMPILE=i686-linux-gnu- make install DESTDIR="[PATH]/xenomai-3.1/tmp_xenomai" https://paste.ubuntu.com/p/M39PJgTM9X/ A similar thread on the Xenomai forum : https://xenomai.org/pipermail/xenomai/2020-May/043000.html The strange thing with the link above is the method should be working for -m32 (and not for -mx32). I tried with old librairies (3.0+), and I had the same issues What I found : The macro #ifdef CONFIG_X86_X32 may not be defined because I have errors on __COBALT_X32_BASE : https://xenomai.org/documentation/xenomai-3/html/xeno3prm/arch_2x86_2include_2asm_2xenomai_2syscall32_8h_source.html What I have installed on my host : sudo apt-get install linux-libc-dev:i386 sudo apt install gcc-i686-linux-gnu Is there a way to use i686 (x86_32) code with Xenomai ? Do you have any advices on this subject ? Best regards, Julien <mailto:[email protected]>
