I have libc6-i386 installed on my 64-bit capable Intel i3 processor.
Should I rather install the amd64-versions of libc or stick to the i386 as I have an Intel processor?
TL;DR: If you are running the 64-bit version of Ubuntu and you're invoking GCC as
If you are running the 64-bit version of Ubuntu and you have a C compiler installed, then you already have the necessary libraries and header files to compile and link programs against a 64-bit implementation of libc. My guess is that this is the situation you are in. Note that the presence of a 32-bit libc does not prevent the 64-bit libc from being used by default unless you are cross-compiling a 32-bit binary (which you would generally know you were doing, as it requires a bit of effort, and you would probably not be invoking
If you are running the 32-bit version of Ubuntu and you want to cross-compile 64-bit binaries, then you'll need something that provides the 64-bit version of libc as well as header files for it. (Header files provided officially in Ubuntu are provided by packages whose names end in
Given the small amount of information you've provided, it would be difficult to give an answer more specific to your situation.