9 Feb 22:17
Help required when building gcc-4.1.2 for i686 environment
Prashant Batra (prbatra <prbatra <at> cisco.com>
2012-02-09 21:17:52 GMT
2012-02-09 21:17:52 GMT
Hello, I am trying to build a gcc/g++ tool-chain for i486 architechture on an x86_64 machine. I downloaded gcc-4.1.2 and configured it with host as x86_64 and target as i486 after installing the pre-requistes i.e gmp, mrpf, and mpc libraries . ../gcc-4.1.2/configure --with-gmp=/auto/local//prbatra/gcc-install/ --with-mpfr=/auto/local//prbatra/gcc-install/ --prefix=/auto/local//prbatra/gcc-install/ --host=x86_64-gnu-linux --target=i486-gnu-linux --enable-languages=c,c++,objc I also installed binutils with the same host and target for asssembler, loaded etc /auto/local//prbatra/objdir/./gcc/xgcc -B/auto/local//prbatra/objdir/./gcc/ -B/auto/local//prbatra/gcc-install//i486-gnu-linux/bin/ -B/auto/local//prbatra/gcc-install//i486-gnu-linux/lib/ -isystem /auto/local//prbatra/gcc-install//i486-gnu-linux/include -isystem /auto/local//prbatra/gcc-install//i486-gnu-linux/sys-include -O2 -O2 -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/gcc/../include -I../../gcc-4.1.2/gcc/../libcpp/include -I/auto/local//prbatra/gcc-install//include -I/auto/local//prbatra/gcc-install//include -fexceptions(Continue reading)
RSS Feed