Open ctx2002 opened 5 years ago
Hi:
I am try to build a xinu qemu image. here is how I have done.
1> use docker to pull download , dockcross/linux-mipsel cross compiler. $CC -v has following output:
Using built-in specs. COLLECT_GCC=/usr/bin/mipsel-linux-gnu-gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/mipsel-linux-gnu/4.9/lto-wrapper Target: mipsel-linux-gnu Configured with: ../src/configure -v --with-pkgversion=' 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,go,fortran,objc --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libitm --disable-libsanitizer --disable-libquadmath --enable-plugin --with-system-zlib --enable-multiarch --with-arch-32=mips2 --with-tune-32=mips32 --disable-multilib --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=mipsel-linux-gnu --program-prefix=mipsel-linux-gnu- Thread model: posix gcc version 4.9.2 ( 4.9.2-10)
2> ran this command to build xinu for qemu
make -C compile PLATFORM=mipsel-qemu COMPILER_ROOT=/usr/bin/mipsel-linux-gnu-
and have got following error message:
make: Entering directory '/xinu/compile' -e Compiling ../system/initialize.o -e Object Copy data/testarp.pcap.o /usr/bin/mipsel-linux-gnu-objcopy:data/testarp.pcap.o: Invalid bfd target Makefile:362: recipe for target 'data/testarp.pcap.o' failed make: *** [data/testarp.pcap.o] Error 1 make: Leaving directory '/xinu/compile'
Hi:
I am try to build a xinu qemu image. here is how I have done.
1> use docker to pull download , dockcross/linux-mipsel cross compiler. $CC -v has following output:
Using built-in specs. COLLECT_GCC=/usr/bin/mipsel-linux-gnu-gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/mipsel-linux-gnu/4.9/lto-wrapper Target: mipsel-linux-gnu Configured with: ../src/configure -v --with-pkgversion=' 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,go,fortran,objc --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libitm --disable-libsanitizer --disable-libquadmath --enable-plugin --with-system-zlib --enable-multiarch --with-arch-32=mips2 --with-tune-32=mips32 --disable-multilib --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=mipsel-linux-gnu --program-prefix=mipsel-linux-gnu- Thread model: posix gcc version 4.9.2 ( 4.9.2-10)
2> ran this command to build xinu for qemu
make -C compile PLATFORM=mipsel-qemu COMPILER_ROOT=/usr/bin/mipsel-linux-gnu-
and have got following error message:
make: Entering directory '/xinu/compile' -e Compiling ../system/initialize.o -e Object Copy data/testarp.pcap.o /usr/bin/mipsel-linux-gnu-objcopy:data/testarp.pcap.o: Invalid bfd target Makefile:362: recipe for target 'data/testarp.pcap.o' failed make: *** [data/testarp.pcap.o] Error 1 make: Leaving directory '/xinu/compile'