building gcc 4.5.2 on amd x86_64 only building 64 bit libraries-Collection of common programming errors
I tried building gcc-4.5.2 from sources on a Debian 64-bit machine. I ended up having just 64 bit version of the compiler but no 32-bit. When I try to build 32 bit application I see following linker error. when I tried ‘-m32′ options I’m getting this message /usr/bin/ld: skipping incompatible /usr/local/gcc452/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/libgcc.a when searching for -lgcc /usr/bin/ld: cannot find -lgcc /usr/bin/ld: cannot find -lgcc_s collect2: ld returned 1 exit statu What should I do to build gcc properly.
Originally posted 2013-11-09 21:26:54.