I compile a program on an asm for 32-bit Linux on a 64-bit Ubuntu system. At first the code did not compile, it gave an error:
skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/6/libgcc.a when searching for -lgcc cannot find -lgcc skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/6/libgcc.a when searching for -lgcc cannot find -lgcc collect2: error: ld returned 1 exit status I installed gcc-multilib - everything worked, only the code was created without springboards: the call XXX call leads directly to the function, and not to jmp , which jumps to the function (just like in Windows, the dll-function is called).
I also need to desperately for the call to lead to the springboard. How to do it? Maybe some keys need to stamp special for gcc or something else?