[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[openrisc] Configure error building uClinux
Is anyone else having trouble getting uClinux to compile? I have tried to get the tools to build on 2 different systems and keep getting hung up at the same point. I started with a fresh download of the entire or1k directory from CVS this morning. I am going through the directions in the README.or32 in the or1k/uclinux/uClinux-2.0.x directory. Everything goes fine until I get to the point of rebuilding Gcc right after the uclibc gets compiled. Here are the commands I am having trouble with:
#
# Rebuild Gcc
#
cd or1k/gcc-ucl
../gcc-3.1/configure --target=or32-uclinux --prefix=/proj/oc/or32-uclinux/ --local-prefix=/proj/oc/or32-uclinux/or32-uclinux/ --with-gnu-as --with-gnu-ld --verbose --enable-languages=c,c++
make all install
cd ../../
Here's the transcript showing the problem.
...
rm -f g++-cross
cp g++ g++-cross
rm -f cxxmain.c
ln -s ../../gcc-3.1/gcc/../libiberty/cplus-dem.c cxxmain.c
gcc -c -DMAIN -DIN_GCC -DCROSS_COMPILE -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I../../gcc-3.1/gcc -I../../gcc-3.1/gcc/. -I../../gcc-3.1/gcc/config -I../../gcc-3.1/gcc/../include \
-DVERSION=\"3.1\" cxxmain.c
gcc -o c++filt -DIN_GCC -DCROSS_COMPILE -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H \
cxxmain.o underscore.o ../libiberty/libiberty.a
make[1]: Leaving directory `/proj/oc/or1k/gcc-ucl/gcc'
Configuring in or32-uclinux/libstdc++-v3
configure: error: --local-prefix=/proj/oc/or32-uclinux/or32-uclinux/: invalid option; use --help to show usage
make: *** [configure-target-libstdc++-v3] Error 1
Any advice would be appreciated. I am building this on a RedHat 7.3 machine running the 2.4.18-5smp kernel.
Thanks,
Jeff