On Nov 17, 12:13 pm, Joe Wilson <
develo...@yahoo.com> wrote:
> g++ was there when I last tried:
>
> make cxxtest
Here's my output when I try:
$ make cxxtest
make -C upstream tasks/build_gcc_step2 usr="/home/rich/local/nestedvm/
upstream/install" \
MIPS_CFLAGS="-O3 -mmemcpy -ffunction-sections -fdata-
sections -falign-functions=512 -fno-rename-registers -fno-schedule-
insns -fno-delayed-branch -freduce-all-givs -march=mips1 -I. -Wall -
Wno-unused" \
MIPS_PCFLAGS="-O3 -mmemcpy -ffunction-sections -fdata-
sections -falign-functions=512 -fno-rename-registers -fno-schedule-
insns -fno-delayed-branch -freduce-all-givs -march=mips1 -I. -Wall -
Wno-unused --big-endian" \
MIPS_LDFLAGS="-march=mips1 --static -Wl,--gc-sections"
make[1]: Entering directory `/home/rich/local/nestedvm/upstream'
mkdir -p /home/rich/local/nestedvm/upstream/install
mkdir -p build/gcc-obj && cd build/gcc-obj && \
echo | ../gcc-3.3.6/configure --prefix=/home/rich/
local/nestedvm/upstream/install --target=mips-unknown-elf --disable-
threads --with-gnu-ld --with-gnu-as --with-newlib=yes --enable-sjlj-
exceptions --enable-languages="c" --enable-languages="c,c++,f77" && \
make TARGET_CFLAGS="-O3 -mmemcpy -ffunction-sections -
fdata-sections -falign-functions=512 -fno-rename-registers -fno-
schedule-insns -fno-delayed-branch -freduce-all-givs -march=mips1 -I. -
Wall -Wno-unused" && \
make install
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /home/rich/local/nestedvm/upstream/build/gcc-obj
Configuring libiberty...
loading cache ../config.cache
checking whether to enable maintainer-specific portions of
Makefiles... no
checking for makeinfo... no
checking for perl... (cached) perl
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking for gcc... (cached) gcc
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether gcc and cc understand -c and -o together... (cached)
yes
checking for POSIXized ISC... no
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for a BSD compatible install... (cached) /usr/bin/install -c
xhost-mkfrag is unchanged
checking how to run the C preprocessor... (cached) gcc -E
checking for sys/file.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for limits.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for malloc.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for time.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/mman.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for alloca.h... (cached) yes
checking for sys/pstat.h... (cached) no
checking for sys/sysmp.h... (cached) no
checking for sys/sysinfo.h... (cached) yes
checking for machine/hal_sysinfo.h... (cached) no
checking for sys/table.h... (cached) no
checking for sys/sysctl.h... (cached) yes
checking for sys/systemcfg.h... (cached) no
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking whether time.h and sys/time.h may both be included...
(cached) yes
checking whether errno must be declared... (cached) no
checking for ANSI C header files... (cached) yes
checking for uintptr_t... (cached) no
checking for pid_t... (cached) yes
checking whether the C compiler (gcc -O3 -mmemcpy -ffunction-sections -
fdata-sections -falign-functions=512 -fno-rename-registers -fno-
schedule-insns -fno-delayed-branch -freduce-all-givs ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
Configure in /home/rich/local/nestedvm/upstream/build/gcc-obj/
libiberty failed, exiting.
make[1]: *** [tasks/build_gcc_step2] Error 1
make[1]: Leaving directory `/home/rich/local/nestedvm/upstream'
make: *** [upstream/tasks/build_gcc_step2] Error 2
> How did you build NestedVM?
I used the directions posted at:
http://wiki.brianweb.net/NestedVM/QuickStartGuide
Thanks,
Rich