raja
2013-11-19 06:40:51 UTC
Hi,
I have successfully compiled rootfs for powerpc cpu=e500mc
.with gcc. but when i try to compile hello world program i am getting
fallowing error.
[***@rtpl user]# powerpc-linux-gnu-gcc -o hallow hello.c
powerpc-linux-gnu-gcc: selected multilib '.' not installed
and in gcc version its showing multilib disabled.
[***@rtpl user]# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/powerpc-linux-gnu/4.5.1/lto-wrapper
Target: powerpc-linux-gnu
Configured with:
/home/raja/ltib/ltib-e500mc-20110128/rpm/BUILD/gcc-4.5.1/configure
--host=powerpc-linux-gnu --build=i686-build_pc-linux-gnu
--target=powerpc-linux-gnu --prefix=/usr/local --enable-shared
--enable-threads --disable-libmudflap --disable-libssp --disable-libgomp
--disable-libstdcxx-pch --with-gnu-as --with-gnu-ld
--enable-languages=c,c++ --enable-symvers=gnu --enable-__cxa_atexit
--disable-nls --disable-multilib --with-cpu=e500mc
I don't know were to set gcc configuration to enable multilib . please
help me to set gcc configuration to enable multilib .
Thanks,
Raja
I have successfully compiled rootfs for powerpc cpu=e500mc
.with gcc. but when i try to compile hello world program i am getting
fallowing error.
[***@rtpl user]# powerpc-linux-gnu-gcc -o hallow hello.c
powerpc-linux-gnu-gcc: selected multilib '.' not installed
and in gcc version its showing multilib disabled.
[***@rtpl user]# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/powerpc-linux-gnu/4.5.1/lto-wrapper
Target: powerpc-linux-gnu
Configured with:
/home/raja/ltib/ltib-e500mc-20110128/rpm/BUILD/gcc-4.5.1/configure
--host=powerpc-linux-gnu --build=i686-build_pc-linux-gnu
--target=powerpc-linux-gnu --prefix=/usr/local --enable-shared
--enable-threads --disable-libmudflap --disable-libssp --disable-libgomp
--disable-libstdcxx-pch --with-gnu-as --with-gnu-ld
--enable-languages=c,c++ --enable-symvers=gnu --enable-__cxa_atexit
--disable-nls --disable-multilib --with-cpu=e500mc
I don't know were to set gcc configuration to enable multilib . please
help me to set gcc configuration to enable multilib .
Thanks,
Raja