Using gcc to link, when you want to link using 32-bit libc you type something like:
# install required packages
sudo get-apt install gcc-multilib
gcc -m32 file.o -o file
I have a repl hosted on repl.it that I need to use this in, how could I do that?
The assembly code im using (with the command as --32 file.s -o file.o ) is 32 bit and cannot link with the x86_64 libc.
as --32 file.s -o file.o