Page 1 of 1

[Solved] Having Trouble Porting Newlib.

Posted: Tue May 29, 2012 3:10 pm
by monsterhunter445
Output

Code: Select all

checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-pc-elf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... no
checking for mawk... mawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gnatbind... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for objdir... .libs
checking for PWL_handle_timeout in -lpwl... no
checking for version 0.11 (revision 0 or later) of PPL... no
checking for default BUILD_CONFIG... 
checking for bison... no
checking for byacc... no
checking for yacc... no
checking for bison... no
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... no
checking for lex... no
checking for flex... no
checking for makeinfo... makeinfo
checking for expect... no
checking for runtest... no
checking for ar... ar
checking for as... as
checking for dlltool... no
checking for ld... ld
checking for lipo... no
checking for nm... nm
checking for ranlib... ranlib
checking for strip... strip
checking for windres... no
checking for windmc... no
checking for objcopy... objcopy
checking for objdump... objdump
checking for readelf... readelf
checking for x86_64-elf-cc... no
checking for x86_64-elf-gcc... no
checking for x86_64-elf-c++... no
checking for x86_64-elf-g++... no
checking for x86_64-elf-cxx... no
checking for x86_64-elf-gxx... no
checking for x86_64-elf-gcc... no
checking for x86_64-elf-gcj... no
checking for x86_64-elf-gfortran... no
checking for x86_64-elf-gccgo... no
checking for x86_64-elf-ar... no
checking for x86_64-elf-as... no
checking for x86_64-elf-dlltool... no
checking for x86_64-elf-ld... no
checking for x86_64-elf-lipo... no
checking for x86_64-elf-nm... no
checking for x86_64-elf-objdump... no
checking for x86_64-elf-ranlib... no
checking for x86_64-elf-readelf... no
checking for x86_64-elf-strip... no
checking for x86_64-elf-windres... no
checking for x86_64-elf-windmc... no
checking where to find the target ar... pre-installed
checking where to find the target as... pre-installed
checking where to find the target cc... pre-installed
checking where to find the target c++... pre-installed
checking where to find the target c++ for libstdc++... pre-installed
checking where to find the target dlltool... pre-installed
checking where to find the target gcc... pre-installed
checking where to find the target gcj... pre-installed
checking where to find the target gfortran... pre-installed
checking where to find the target gccgo... pre-installed
checking where to find the target ld... pre-installed
checking where to find the target lipo... pre-installed
checking where to find the target nm... pre-installed
checking where to find the target objdump... pre-installed
checking where to find the target ranlib... pre-installed
checking where to find the target readelf... pre-installed
checking where to find the target strip... pre-installed
checking where to find the target windres... pre-installed
checking where to find the target windmc... pre-installed
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether -fkeep-inline-functions is supported... yes
configure: creating ./config.status
config.status: creating Makefile
make[1]: Entering directory `/home/osdev/Desktop/src/build-newlib'
mkdir -p -- ./etc
Configuring in ./etc
configure: creating cache ./config.cache
checking for a BSD-compatible install... /usr/bin/install -c
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
make[2]: Entering directory `/home/osdev/Desktop/src/build-newlib/etc'
for f in standards.info configure.info; do \
	  if test -f ../../newlib-1.20.0/etc/`echo $f | sed -e 's/.info$/.texi/'`; then \
	    if make "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000" $f; then \
	      true; \
	    else \
	      exit 1; \
	    fi; \
	  fi; \
	done
make[3]: Entering directory `/home/osdev/Desktop/src/build-newlib/etc'
makeinfo --split-size=5000000 --split-size=5000000 --no-split -I../../newlib-1.20.0/etc -o standards.info ../../newlib-1.20.0/etc/standards.texi
make[3]: Leaving directory `/home/osdev/Desktop/src/build-newlib/etc'
make[3]: Entering directory `/home/osdev/Desktop/src/build-newlib/etc'
rm -f configdev.txt configbuild.txt
cp ../../newlib-1.20.0/etc/configdev.tin configdev.txt
cp ../../newlib-1.20.0/etc/configbuild.tin configbuild.txt
makeinfo --split-size=5000000 --split-size=5000000 -I../../newlib-1.20.0/etc -o configure.info ../../newlib-1.20.0/etc/configure.texi
rm -f configdev.txt configbuild.txt
make[3]: Leaving directory `/home/osdev/Desktop/src/build-newlib/etc'
make[2]: Leaving directory `/home/osdev/Desktop/src/build-newlib/etc'
Checking multilib configuration for newlib...
mkdir -p -- x86_64-elf/newlib
Configuring in x86_64-elf/newlib
configure: creating cache ./config.cache
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-pc-elf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-elf-strip... x86_64-elf-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64   
checking dependency style of x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64   ... none
checking whether we are using GNU C... no
checking for x86_64-elf-as... x86_64-elf-as
checking for x86_64-elf-ar... x86_64-elf-ar
checking for x86_64-elf-ranlib... x86_64-elf-ranlib
checking for x86_64-elf-readelf... x86_64-elf-readelf
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a sed that does not truncate output... /bin/sed
checking how to print strings... printf
checking for gawk... (cached) mawk
checking for .preinit_array/.init_array/.fini_array support... no
checking whether long double type exists... no
checking whether long double equals double... no
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
Adding multilib support to Makefile in ../../../newlib-1.20.0/newlib
multidirs=
with_multisubdir=
config.status: creating newlib.h
config.status: executing depfiles commands
=== configuring in libc (/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc)
configure: running /bin/bash ../../../../newlib-1.20.0/newlib/libc/configure --disable-option-checking '--prefix=/home/osdev/cross'  '--with-newlib' '--enable-multilib' '--with-cross-host=x86_64-unknown-linux-gnu' '--program-transform-name=s&^&x86_64-elf-&' '--with-target-subdir=x86_64-elf' '--build=x86_64-unknown-linux-gnu' '--host=x86_64-elf' '--target=x86_64-elf' 'build_alias=x86_64-unknown-linux-gnu' 'host_alias=x86_64-elf' 'target_alias=x86_64-elf' 'CC=x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64   ' 'CFLAGS=-g -O2' 'LDFLAGS=' 'CPPFLAGS=' --cache-file=.././config.cache --srcdir=../../../../newlib-1.20.0/newlib/libc
configure: loading cache .././config.cache
checking build system type... (cached) x86_64-unknown-linux-gnu
checking host system type... (cached) x86_64-pc-elf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-elf-strip... (cached) x86_64-elf-strip
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking for gcc... (cached) x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64   
checking dependency style of x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64   ... (cached) none
checking whether we are using GNU C... (cached) no
checking for x86_64-elf-as... (cached) x86_64-elf-as
checking for x86_64-elf-ar... (cached) x86_64-elf-ar
checking for x86_64-elf-ranlib... (cached) x86_64-elf-ranlib
checking for x86_64-elf-readelf... (cached) x86_64-elf-readelf
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a sed that does not truncate output... (cached) /bin/sed
checking how to print strings... printf
checking Checking long double support... (cached) no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating argz/Makefile
config.status: creating ctype/Makefile
config.status: creating errno/Makefile
config.status: creating locale/Makefile
config.status: creating misc/Makefile
config.status: creating reent/Makefile
config.status: creating search/Makefile
config.status: creating stdio/Makefile
config.status: creating stdio64/Makefile
config.status: creating stdlib/Makefile
config.status: creating string/Makefile
config.status: creating time/Makefile
config.status: creating posix/Makefile
config.status: creating signal/Makefile
config.status: creating syscalls/Makefile
config.status: creating unix/Makefile
config.status: creating iconv/Makefile
config.status: creating iconv/ces/Makefile
config.status: creating iconv/ccs/Makefile
config.status: creating iconv/ccs/binary/Makefile
config.status: creating iconv/lib/Makefile
config.status: creating xdr/Makefile
config.status: executing depfiles commands
=== configuring in machine (/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/machine)
configure: running /bin/bash ../../../../../newlib-1.20.0/newlib/libc/machine/configure --disable-option-checking '--prefix=/home/osdev/cross'  '--with-newlib' '--enable-multilib' '--with-cross-host=x86_64-unknown-linux-gnu' '--program-transform-name=s&^&x86_64-elf-&' '--with-target-subdir=x86_64-elf' '--build=x86_64-unknown-linux-gnu' '--host=x86_64-elf' '--target=x86_64-elf' 'build_alias=x86_64-unknown-linux-gnu' 'host_alias=x86_64-elf' 'target_alias=x86_64-elf' 'CC=x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64   ' 'CFLAGS=-g -O2' 'LDFLAGS=' 'CPPFLAGS=' --cache-file=../.././config.cache --srcdir=../../../../../newlib-1.20.0/newlib/libc/machine
configure: loading cache ../.././config.cache
checking build system type... (cached) x86_64-unknown-linux-gnu
checking host system type... (cached) x86_64-pc-elf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-elf-strip... (cached) x86_64-elf-strip
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking for gcc... (cached) x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64   
checking dependency style of x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64   ... (cached) none
checking whether we are using GNU C... (cached) no
checking for x86_64-elf-as... (cached) x86_64-elf-as
checking for x86_64-elf-ar... (cached) x86_64-elf-ar
checking for x86_64-elf-ranlib... (cached) x86_64-elf-ranlib
checking for x86_64-elf-readelf... (cached) x86_64-elf-readelf
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a sed that does not truncate output... (cached) /bin/sed
checking how to print strings... printf
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
=== configuring in x86_64 (/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/machine/x86_64)
configure: running /bin/bash ../../../../../../newlib-1.20.0/newlib/libc/machine/x86_64/configure --disable-option-checking '--prefix=/home/osdev/cross'  '--with-newlib' '--enable-multilib' '--with-cross-host=x86_64-unknown-linux-gnu' '--program-transform-name=s&^&x86_64-elf-&' '--with-target-subdir=x86_64-elf' '--build=x86_64-unknown-linux-gnu' '--host=x86_64-elf' '--target=x86_64-elf' 'build_alias=x86_64-unknown-linux-gnu' 'host_alias=x86_64-elf' 'target_alias=x86_64-elf' 'CC=x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64   ' 'CFLAGS=-g -O2' 'LDFLAGS=' 'CPPFLAGS=' --cache-file=../../.././config.cache --srcdir=../../../../../../newlib-1.20.0/newlib/libc/machine/x86_64
configure: loading cache ../../.././config.cache
checking build system type... (cached) x86_64-unknown-linux-gnu
checking host system type... (cached) x86_64-pc-elf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-elf-strip... (cached) x86_64-elf-strip
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking for gcc... (cached) x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64   
checking dependency style of x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64   ... (cached) none
checking whether we are using GNU C... (cached) no
checking for x86_64-elf-as... (cached) x86_64-elf-as
checking for x86_64-elf-ar... (cached) x86_64-elf-ar
checking for x86_64-elf-ranlib... (cached) x86_64-elf-ranlib
checking for x86_64-elf-readelf... (cached) x86_64-elf-readelf
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
=== configuring in sys (/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/sys)
configure: running /bin/bash ../../../../../newlib-1.20.0/newlib/libc/sys/configure --disable-option-checking '--prefix=/home/osdev/cross'  '--with-newlib' '--enable-multilib' '--with-cross-host=x86_64-unknown-linux-gnu' '--program-transform-name=s&^&x86_64-elf-&' '--with-target-subdir=x86_64-elf' '--build=x86_64-unknown-linux-gnu' '--host=x86_64-elf' '--target=x86_64-elf' 'build_alias=x86_64-unknown-linux-gnu' 'host_alias=x86_64-elf' 'target_alias=x86_64-elf' 'CC=x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64   ' 'CFLAGS=-g -O2' 'LDFLAGS=' 'CPPFLAGS=' --cache-file=../.././config.cache --srcdir=../../../../../newlib-1.20.0/newlib/libc/sys
configure: loading cache ../.././config.cache
checking build system type... (cached) x86_64-unknown-linux-gnu
checking host system type... (cached) x86_64-pc-elf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-elf-strip... (cached) x86_64-elf-strip
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking for gcc... (cached) x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64   
checking dependency style of x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64   ... (cached) none
checking whether we are using GNU C... (cached) no
checking for x86_64-elf-as... (cached) x86_64-elf-as
checking for x86_64-elf-ar... (cached) x86_64-elf-ar
checking for x86_64-elf-ranlib... (cached) x86_64-elf-ranlib
checking for x86_64-elf-readelf... (cached) x86_64-elf-readelf
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a sed that does not truncate output... (cached) /bin/sed
checking how to print strings... printf
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
=== configuring in libm (/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libm)
configure: running /bin/bash ../../../../newlib-1.20.0/newlib/libm/configure --disable-option-checking '--prefix=/home/osdev/cross'  '--with-newlib' '--enable-multilib' '--with-cross-host=x86_64-unknown-linux-gnu' '--program-transform-name=s&^&x86_64-elf-&' '--with-target-subdir=x86_64-elf' '--build=x86_64-unknown-linux-gnu' '--host=x86_64-elf' '--target=x86_64-elf' 'build_alias=x86_64-unknown-linux-gnu' 'host_alias=x86_64-elf' 'target_alias=x86_64-elf' 'CC=x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64   ' 'CFLAGS=-g -O2' 'LDFLAGS=' 'CPPFLAGS=' --cache-file=.././config.cache --srcdir=../../../../newlib-1.20.0/newlib/libm
configure: loading cache .././config.cache
checking Checking long double support... (cached) no
checking build system type... (cached) x86_64-unknown-linux-gnu
checking host system type... (cached) x86_64-pc-elf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-elf-strip... (cached) x86_64-elf-strip
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking for gcc... (cached) x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64   
checking dependency style of x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64   ... (cached) none
checking whether we are using GNU C... (cached) no
checking for x86_64-elf-as... (cached) x86_64-elf-as
checking for x86_64-elf-ar... (cached) x86_64-elf-ar
checking for x86_64-elf-ranlib... (cached) x86_64-elf-ranlib
checking for x86_64-elf-readelf... (cached) x86_64-elf-readelf
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a sed that does not truncate output... (cached) /bin/sed
checking how to print strings... printf
configure: creating ./config.status
config.status: creating Makefile
config.status: creating math/Makefile
config.status: creating mathfp/Makefile
config.status: creating common/Makefile
config.status: creating complex/Makefile
config.status: executing depfiles commands
=== configuring in machine (/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libm/machine)
configure: running /bin/bash ../../../../../newlib-1.20.0/newlib/libm/machine/configure --disable-option-checking '--prefix=/home/osdev/cross'  '--with-newlib' '--enable-multilib' '--with-cross-host=x86_64-unknown-linux-gnu' '--program-transform-name=s&^&x86_64-elf-&' '--with-target-subdir=x86_64-elf' '--build=x86_64-unknown-linux-gnu' '--host=x86_64-elf' '--target=x86_64-elf' 'build_alias=x86_64-unknown-linux-gnu' 'host_alias=x86_64-elf' 'target_alias=x86_64-elf' 'CC=x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64   ' 'CFLAGS=-g -O2' 'LDFLAGS=' 'CPPFLAGS=' --cache-file=../.././config.cache --srcdir=../../../../../newlib-1.20.0/newlib/libm/machine
configure: loading cache ../.././config.cache
checking build system type... (cached) x86_64-unknown-linux-gnu
checking host system type... (cached) x86_64-pc-elf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-elf-strip... (cached) x86_64-elf-strip
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking for gcc... (cached) x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64   
checking dependency style of x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64   ... (cached) none
checking whether we are using GNU C... (cached) no
checking for x86_64-elf-as... (cached) x86_64-elf-as
checking for x86_64-elf-ar... (cached) x86_64-elf-ar
checking for x86_64-elf-ranlib... (cached) x86_64-elf-ranlib
checking for x86_64-elf-readelf... (cached) x86_64-elf-readelf
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a sed that does not truncate output... (cached) /bin/sed
checking how to print strings... printf
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
=== configuring in doc (/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/doc)
configure: running /bin/bash ../../../../newlib-1.20.0/newlib/doc/configure --disable-option-checking '--prefix=/home/osdev/cross'  '--with-newlib' '--enable-multilib' '--with-cross-host=x86_64-unknown-linux-gnu' '--program-transform-name=s&^&x86_64-elf-&' '--with-target-subdir=x86_64-elf' '--build=x86_64-unknown-linux-gnu' '--host=x86_64-elf' '--target=x86_64-elf' 'build_alias=x86_64-unknown-linux-gnu' 'host_alias=x86_64-elf' 'target_alias=x86_64-elf' 'CC=x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64   ' 'CFLAGS=-g -O2' 'LDFLAGS=' 'CPPFLAGS=' --cache-file=.././config.cache --srcdir=../../../../newlib-1.20.0/newlib/doc
configure: loading cache .././config.cache
checking build system type... (cached) x86_64-unknown-linux-gnu
checking host system type... (cached) x86_64-pc-elf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-elf-strip... (cached) x86_64-elf-strip
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking for gcc... (cached) x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64   
checking dependency style of x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64   ... (cached) none
checking whether we are using GNU C... (cached) no
checking for x86_64-elf-as... (cached) x86_64-elf-as
checking for x86_64-elf-ar... (cached) x86_64-elf-ar
checking for x86_64-elf-ranlib... (cached) x86_64-elf-ranlib
checking for x86_64-elf-readelf... (cached) x86_64-elf-readelf
checking whether to enable maintainer-specific portions of Makefiles... no
checking for build system executable suffix... no
configure: updating cache .././config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
make[2]: Entering directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib'
make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CCASFLAGS=-g -O2" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/bash" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/home/osdev/cross" "infodir=/home/osdev/cross/share/info" "libdir=/home/osdev/cross/lib" "prefix=/home/osdev/cross" "tooldir=/home/osdev/cross/x86_64-elf" "top_toollibdir=/home/osdev/cross/x86_64-elf/lib" "AR=x86_64-elf-ar" "AS=x86_64-elf-as" "CC=x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64   " "LD=x86_64-elf-ld" "LIBCFLAGS=-g -O2" "NM=x86_64-elf-nm" "PICFLAG=" "RANLIB=x86_64-elf-ranlib" "DESTDIR=" all-recursive
make[3]: Entering directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib'
make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CCASFLAGS=-g -O2" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000  " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/bash" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/home/osdev/cross" "infodir=/home/osdev/cross/share/info" "libdir=/home/osdev/cross/lib" "prefix=/home/osdev/cross" "tooldir=/home/osdev/cross/x86_64-elf" "top_toollibdir=/home/osdev/cross/x86_64-elf/lib" "AR=x86_64-elf-ar" "AS=x86_64-elf-as" "CC=x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64   " "LD=x86_64-elf-ld" "LIBCFLAGS=-g -O2" "NM=x86_64-elf-nm" "PICFLAG=" "RANLIB=x86_64-elf-ranlib" "DESTDIR=" DO=all multi-do # make
make[4]: Entering directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib'
if [ -z "" ]; then \
	  true; \
	else \
	  rootpre=`${PWDCMD-pwd}`/; export rootpre; \
	  srcrootpre=`cd ../../../newlib-1.20.0/newlib; ${PWDCMD-pwd}`/; export srcrootpre; \
	  lib=`echo "${rootpre}" | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
	  compiler="x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64   "; \
	  for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
	    dir=`echo $i | sed -e 's/;.*$//'`; \
	    if [ "${dir}" = "." ]; then \
	      true; \
	    else \
	      if [ -d ../${dir}/${lib} ]; then \
		flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
		if (cd ../${dir}/${lib}; make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CCASFLAGS=-g -O2" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000   " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/bash" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/home/osdev/cross" "infodir=/home/osdev/cross/share/info" "libdir=/home/osdev/cross/lib" "prefix=/home/osdev/cross" "tooldir=/home/osdev/cross/x86_64-elf" "top_toollibdir=/home/osdev/cross/x86_64-elf/lib" "AR=x86_64-elf-ar" "AS=x86_64-elf-as" "CC=x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64   " "LD=x86_64-elf-ld" "LIBCFLAGS=-g -O2" "NM=x86_64-elf-nm" "PICFLAG=" "RANLIB=x86_64-elf-ranlib" "DESTDIR=" \
				CFLAGS="-g -O2 ${flags}" \
				CCASFLAGS="-g -O2 ${flags}" \
				FCFLAGS=" ${flags}" \
				FFLAGS=" ${flags}" \
				ADAFLAGS=" ${flags}" \
				prefix="/home/osdev/cross" \
				exec_prefix="/home/osdev/cross" \
				GCJFLAGS=" ${flags}" \
				GOCFLAGS="-O2 -g ${flags}" \
				CXXFLAGS="-g -O2 ${flags}" \
				LIBCFLAGS="-g -O2 ${flags}" \
				LIBCXXFLAGS="-g -O2 -fno-implicit-templates ${flags}" \
				LDFLAGS=" ${flags}" \
				MULTIFLAGS="${flags}" \
				DESTDIR="" \
				INSTALL="/usr/bin/install -c" \
				INSTALL_DATA="/usr/bin/install -c -m 644" \
				INSTALL_PROGRAM="/usr/bin/install -c" \
				INSTALL_SCRIPT="/usr/bin/install -c" \
				all); then \
		  true; \
		else \
		  exit 1; \
		fi; \
	      else true; \
	      fi; \
	    fi; \
	  done; \
	fi
make[4]: Leaving directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib'
rm -rf targ-include stmp-targ-include
mkdir targ-include targ-include/sys targ-include/machine targ-include/bits
cp newlib.h targ-include/newlib.h
for i in ../../../newlib-1.20.0/newlib/libc/machine/x86_64/machine/*.h; do \
	    if [ -f $i ]; then \
	      cp $i targ-include/machine/`basename $i`; \
	    else true; fi ; \
	  done
for i in ../../../newlib-1.20.0/newlib/libc/machine/x86_64/sys/*.h; do \
	    if [ -f $i ]; then \
	      cp $i targ-include/sys/`basename $i`; \
	    else true; fi ; \
	  done
for i in ../../../newlib-1.20.0/newlib/libc/machine/x86_64/include/*.h; do \
	    if [ -f $i ]; then \
	      cp $i targ-include/`basename $i`; \
	    else true; fi ; \
	  done
for i in ../../../newlib-1.20.0/newlib/libc/sys//include/*.h; do \
	    if [ -f $i ]; then \
	      cp $i targ-include/`basename $i`; \
	    else true; fi ; \
	  done
for i in ../../../newlib-1.20.0/newlib/libc/sys//include/*; do \
	    if [ -d $i ]; then \
		for j in $i/*.h; do \
		    if [ ! -d targ-include/`basename $i` ]; then \
		    	mkdir targ-include/`basename $i`; \
		    fi; \
	      	    cp $j targ-include/`basename $i`/`basename $j`; \
		done \
	    else true; fi ; \
	  done
for i in ../../../newlib-1.20.0/newlib/libc/sys//sys/*.h; do \
	    if [ -f $i ]; then \
	      cp $i targ-include/sys/`basename $i`; \
	    else true; fi ; \
	  done
for i in ../../../newlib-1.20.0/newlib/libc/sys//bits/*.h; do \
	    if [ -f $i ]; then \
	      cp $i targ-include/bits/`basename $i`; \
	    else true; fi ; \
	  done
for i in ../../../newlib-1.20.0/newlib/libc/sys//machine/*.h; do \
	    if [ -f $i ]; then \
	      cp $i targ-include/machine/`basename $i`; \
	    else true; fi ; \
	  done
for i in ../../../newlib-1.20.0/newlib/libc/sys//machine/x86_64/*.h; do \
	    if [ -f $i ]; then \
	      cp $i targ-include/machine/`basename $i`; \
	    else true; fi ; \
	  done
for i in ../../../newlib-1.20.0/newlib/libc/sys//machine/x86_64/include/*.h; do \
	    if [ -f $i ]; then \
	      cp $i targ-include/machine/`basename $i`; \
	    else true; fi ; \
	  done
touch stmp-targ-include
Making all in libc
make[4]: Entering directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc'
Making all in argz
make[5]: Entering directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/argz'
x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64    -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.20.0\" -DPACKAGE_STRING=\"newlib\ 1.20.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I. -I../../../../../newlib-1.20.0/newlib/libc/argz -DMISSING_SYSCALL_NAMES -fno-builtin      -g -O2 -c -o lib_a-dummy.o `test -f 'dummy.c' || echo '../../../../../newlib-1.20.0/newlib/libc/argz/'`dummy.c
/bin/bash: x86_64-elf-cc: command not found
make[5]: *** [lib_a-dummy.o] Error 127
make[5]: Leaving directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/argz'
Making all in stdlib
make[5]: Entering directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/stdlib'
Makefile:1410: warning: overriding commands for target `lib_a-mbtowc_r.o'
Makefile:765: warning: ignoring old commands for target `lib_a-mbtowc_r.o'
x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64    -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.20.0\" -DPACKAGE_STRING=\"newlib\ 1.20.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I. -I../../../../../newlib-1.20.0/newlib/libc/stdlib -DMISSING_SYSCALL_NAMES -fno-builtin      -g -O2 -c -o lib_a-__adjust.o `test -f '__adjust.c' || echo '../../../../../newlib-1.20.0/newlib/libc/stdlib/'`__adjust.c
/bin/bash: x86_64-elf-cc: command not found
make[5]: *** [lib_a-__adjust.o] Error 127
make[5]: Leaving directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/stdlib'
Making all in ctype
make[5]: Entering directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/ctype'
x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64    -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.20.0\" -DPACKAGE_STRING=\"newlib\ 1.20.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I. -I../../../../../newlib-1.20.0/newlib/libc/ctype -DMISSING_SYSCALL_NAMES -fno-builtin      -g -O2 -c -o lib_a-ctype_.o `test -f 'ctype_.c' || echo '../../../../../newlib-1.20.0/newlib/libc/ctype/'`ctype_.c
/bin/bash: x86_64-elf-cc: command not found
make[5]: *** [lib_a-ctype_.o] Error 127
make[5]: Leaving directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/ctype'
Making all in search
make[5]: Entering directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/search'
x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64    -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.20.0\" -DPACKAGE_STRING=\"newlib\ 1.20.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I. -I../../../../../newlib-1.20.0/newlib/libc/search -DMISSING_SYSCALL_NAMES -fno-builtin      -g -O2 -c -o lib_a-bsearch.o `test -f 'bsearch.c' || echo '../../../../../newlib-1.20.0/newlib/libc/search/'`bsearch.c
/bin/bash: x86_64-elf-cc: command not found
make[5]: *** [lib_a-bsearch.o] Error 127
make[5]: Leaving directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/search'
Making all in stdio
make[5]: Entering directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/stdio'
Makefile:1612: warning: overriding commands for target `lib_a-vfwscanf.o'
Makefile:1352: warning: ignoring old commands for target `lib_a-vfwscanf.o'
x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64    -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.20.0\" -DPACKAGE_STRING=\"newlib\ 1.20.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I. -I../../../../../newlib-1.20.0/newlib/libc/stdio -DMISSING_SYSCALL_NAMES -fno-builtin      -g -O2 -c -o lib_a-clearerr.o `test -f 'clearerr.c' || echo '../../../../../newlib-1.20.0/newlib/libc/stdio/'`clearerr.c
/bin/bash: x86_64-elf-cc: command not found
make[5]: *** [lib_a-clearerr.o] Error 127
make[5]: Leaving directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/stdio'
Making all in string
make[5]: Entering directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/string'
x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64    -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.20.0\" -DPACKAGE_STRING=\"newlib\ 1.20.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I. -I../../../../../newlib-1.20.0/newlib/libc/string -DMISSING_SYSCALL_NAMES -fno-builtin      -g -O2 -c -o lib_a-bcopy.o `test -f 'bcopy.c' || echo '../../../../../newlib-1.20.0/newlib/libc/string/'`bcopy.c
/bin/bash: x86_64-elf-cc: command not found
make[5]: *** [lib_a-bcopy.o] Error 127
make[5]: Leaving directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/string'
Making all in signal
make[5]: Entering directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/signal'
x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64    -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.20.0\" -DPACKAGE_STRING=\"newlib\ 1.20.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I. -I../../../../../newlib-1.20.0/newlib/libc/signal -DMISSING_SYSCALL_NAMES -fno-builtin      -g -O2 -c -o lib_a-psignal.o `test -f 'psignal.c' || echo '../../../../../newlib-1.20.0/newlib/libc/signal/'`psignal.c
/bin/bash: x86_64-elf-cc: command not found
make[5]: *** [lib_a-psignal.o] Error 127
make[5]: Leaving directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/signal'
Making all in time
make[5]: Entering directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/time'
x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64    -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.20.0\" -DPACKAGE_STRING=\"newlib\ 1.20.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I. -I../../../../../newlib-1.20.0/newlib/libc/time -DMISSING_SYSCALL_NAMES -fno-builtin      -g -O2 -c -o lib_a-asctime.o `test -f 'asctime.c' || echo '../../../../../newlib-1.20.0/newlib/libc/time/'`asctime.c
/bin/bash: x86_64-elf-cc: command not found
make[5]: *** [lib_a-asctime.o] Error 127
make[5]: Leaving directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/time'
Making all in locale
make[5]: Entering directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/locale'
x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64    -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.20.0\" -DPACKAGE_STRING=\"newlib\ 1.20.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I. -I../../../../../newlib-1.20.0/newlib/libc/locale -DMISSING_SYSCALL_NAMES -fno-builtin      -g -O2 -c -o lib_a-locale.o `test -f 'locale.c' || echo '../../../../../newlib-1.20.0/newlib/libc/locale/'`locale.c
/bin/bash: x86_64-elf-cc: command not found
make[5]: *** [lib_a-locale.o] Error 127
make[5]: Leaving directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/locale'
Making all in sys
make[5]: Entering directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/sys'
Making all in .
make[6]: Entering directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/sys'
make[6]: Nothing to be done for `all-am'.
make[6]: Leaving directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/sys'
make[5]: Leaving directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/sys'
Making all in reent
make[5]: Entering directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/reent'
x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64    -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.20.0\" -DPACKAGE_STRING=\"newlib\ 1.20.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I. -I../../../../../newlib-1.20.0/newlib/libc/reent -DMISSING_SYSCALL_NAMES -fno-builtin      -g -O2 -c -o lib_a-closer.o `test -f 'closer.c' || echo '../../../../../newlib-1.20.0/newlib/libc/reent/'`closer.c
/bin/bash: x86_64-elf-cc: command not found
make[5]: *** [lib_a-closer.o] Error 127
make[5]: Leaving directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/reent'
Making all in errno
make[5]: Entering directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/errno'
x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64    -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.20.0\" -DPACKAGE_STRING=\"newlib\ 1.20.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I. -I../../../../../newlib-1.20.0/newlib/libc/errno -DMISSING_SYSCALL_NAMES -fno-builtin      -g -O2 -c -o lib_a-errno.o `test -f 'errno.c' || echo '../../../../../newlib-1.20.0/newlib/libc/errno/'`errno.c
/bin/bash: x86_64-elf-cc: command not found
make[5]: *** [lib_a-errno.o] Error 127
make[5]: Leaving directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/errno'
Making all in misc
make[5]: Entering directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/misc'
x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64    -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.20.0\" -DPACKAGE_STRING=\"newlib\ 1.20.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I. -I../../../../../newlib-1.20.0/newlib/libc/misc -DMISSING_SYSCALL_NAMES -fno-builtin      -g -O2 -c -o lib_a-__dprintf.o `test -f '__dprintf.c' || echo '../../../../../newlib-1.20.0/newlib/libc/misc/'`__dprintf.c
/bin/bash: x86_64-elf-cc: command not found
make[5]: *** [lib_a-__dprintf.o] Error 127
make[5]: Leaving directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/misc'
Making all in machine
make[5]: Entering directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/machine'
Making all in x86_64
make[6]: Entering directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/machine/x86_64'
x86_64-elf-cc -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/ -isystem /home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/targ-include -isystem /home/osdev/Desktop/src/newlib-1.20.0/newlib/libc/include -B/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/x86_64 -L/home/osdev/Desktop/src/build-newlib/x86_64-elf/libgloss/libnosys -L/home/osdev/Desktop/src/newlib-1.20.0/libgloss/x86_64    -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.20.0\" -DPACKAGE_STRING=\"newlib\ 1.20.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -I. -I../../../../../../newlib-1.20.0/newlib/libc/machine/x86_64 -DMISSING_SYSCALL_NAMES -fno-builtin     -DMISSING_SYSCALL_NAMES -fno-builtin   -g -O2 -c -o lib_a-setjmp.o `test -f 'setjmp.S' || echo '../../../../../../newlib-1.20.0/newlib/libc/machine/x86_64/'`setjmp.S
/bin/bash: x86_64-elf-cc: command not found
make[6]: *** [lib_a-setjmp.o] Error 127
make[6]: Leaving directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/machine/x86_64'
Making all in .
make[6]: Entering directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/machine'
rm -f lib.a
ln x86_64/lib.a lib.a >/dev/null 2>/dev/null || \
	 cp x86_64/lib.a lib.a
cp: cannot stat `x86_64/lib.a': No such file or directory
make[6]: *** [lib.a] Error 1
make[6]: Leaving directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/machine'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/machine'
Making all in .
make[5]: Entering directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc'
rm -f libc.a
rm -rf tmp
mkdir tmp
cd tmp; \
	 for i in argz/lib.a stdlib/lib.a ctype/lib.a search/lib.a stdio/lib.a   string/lib.a signal/lib.a time/lib.a locale/lib.a reent/lib.a  errno/lib.a misc/lib.a     machine/lib.a ; do \
	   x86_64-elf-ar x ../$i; \
	 done; \
	x86_64-elf-ar rc ../libc.a *.o
/bin/bash: line 2: x86_64-elf-ar: command not found
/bin/bash: line 2: x86_64-elf-ar: command not found
/bin/bash: line 2: x86_64-elf-ar: command not found
/bin/bash: line 2: x86_64-elf-ar: command not found
/bin/bash: line 2: x86_64-elf-ar: command not found
/bin/bash: line 2: x86_64-elf-ar: command not found
/bin/bash: line 2: x86_64-elf-ar: command not found
/bin/bash: line 2: x86_64-elf-ar: command not found
/bin/bash: line 2: x86_64-elf-ar: command not found
/bin/bash: line 2: x86_64-elf-ar: command not found
/bin/bash: line 2: x86_64-elf-ar: command not found
/bin/bash: line 2: x86_64-elf-ar: command not found
/bin/bash: line 2: x86_64-elf-ar: command not found
/bin/bash: line 4: x86_64-elf-ar: command not found
make[5]: *** [libc.a] Error 127
make[5]: Leaving directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib'
make[1]: *** [all-target-newlib] Error 2
make[1]: Leaving directory `/home/osdev/Desktop/src/build-newlib'
make: *** [all] Error 2
Script

Code: Select all

export PREFIX=/home/osdev/cross
export TARGET=x86_64-elf
cd src
rm -rf build-newlib
mkdir build-newlib
cd build-newlib
../newlib-''1.20.0''/configure --prefix=$PREFIX --target=$TARGET
make all install

Re: Having Trouble Porting Newlib To My OS.

Posted: Tue May 29, 2012 3:34 pm
by monsterhunter445
Extra Information:

I have successfully built GCC cross compiler. So I can use the command x86_64-elf-*. Where * is gcc, ld, and etc. Have I set my enviroment variables wrong?

Re: Having Trouble Porting Newlib To My OS.

Posted: Tue May 29, 2012 3:42 pm
by piranha
Have I set my enviroment variables wrong?
My guess would be yes. Whats your PATH (and is it properly exported)? Have you included the directory where those executables that it can't find are in? If you can run those programs, but make can't, then your path is set incorrectly somewhere.

-JL

Re: Having Trouble Porting Newlib To My OS.

Posted: Tue May 29, 2012 3:45 pm
by monsterhunter445
The path to the cross compiler is '/home/username/cross'

My Environment Variables

Code: Select all

SSH_AGENT_PID=1886
GPG_AGENT_INFO=/tmp/keyring-SDA4tA/gpg:0:1
TERM=xterm
SHELL=/bin/bash
XDG_SESSION_COOKIE=152f5b26e25692b4a9652b5d0000000f-1338320615.384408-1306208004
GNOME_KEYRING_CONTROL=/tmp/keyring-SDA4tA
USER=osdev
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
DESKTOP_AUTOSTART_ID=10359a3eb7a9ed2b1913383206166100800000018500001
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
SSH_AUTH_SOCK=/tmp/keyring-SDA4tA/ssh
SESSION_MANAGER=local/osdevMachine:@/tmp/.ICE-unix/1850,unix/osdevMachine:/tmp/.ICE-unix/1850
DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/osdev/cross/bin:/home/osdev/cross/lib
DESKTOP_SESSION=ubuntu
PWD=/home/osdev
GNOME_KEYRING_PID=1839
LANG=en_US.UTF-8
MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
UBUNTU_MENUPROXY=libappmenu.so
COMPIZ_CONFIG_PROFILE=ubuntu
GDMSESSION=ubuntu
HOME=/home/osdev
SHLVL=1
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
LOGNAME=osdev
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-5RWiqsmt0K,guid=008daa9e23ecd9c83c14d0520000006d
LESSOPEN=| /usr/bin/lesspipe %s
DISPLAY=:0
XDG_CURRENT_DESKTOP=Unity
LESSCLOSE=/usr/bin/lesspipe %s %s
XAUTHORITY=/home/osdev/.Xauthority
_=/usr/bin/printenv

Re: Having Trouble Porting Newlib To My OS.

Posted: Tue May 29, 2012 5:26 pm
by Combuster
I have successfully built GCC cross compiler. So I can use the command x86_64-elf-*. Where * is gcc, ld, and etc.
Somehow I'm still not buying that. Can you actually build something with those tools?

Re: Having Trouble Porting Newlib To My OS.

Posted: Tue May 29, 2012 6:37 pm
by monsterhunter445
I actually have proof for those who are disbelievers :D

The proof is in the picture *no pun intended * :mrgreen:

Image

Sorry that I couldn't crop the picture.

Re: Having Trouble Porting Newlib To My OS.

Posted: Tue May 29, 2012 9:46 pm
by ACcurrent
Looks like the x86_64 toolchain is not built properly

Re: Having Trouble Porting Newlib To My OS.

Posted: Wed May 30, 2012 2:00 am
by Combuster
I actually have proof for those who are disbelievers
It's definitely not proof, especially when you demonstrated earlier that the tools don't actually exist. The only thing I can conclude from that screenshot is that you managed to get the 32-bit barebones running, which is way before when you should be concerning yourself with newlib.

Re: Having Trouble Porting Newlib To My OS.

Posted: Wed May 30, 2012 2:28 am
by iansjack
monsterhunter445 wrote:The path to the cross compiler is '/home/username/cross'
...
PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/osdev/cross/bin:/home/osdev/cross/lib
...
[/code]
Unless I'm missing something obvious, you haven't included that particular path in your PATH variable. Or did you mean "The path to the cross compiler is '/home/osdev/cross'"? And why do you have '/home/osdev/cross/lib' in the PATH?

Re: Having Trouble Porting Newlib To My OS.

Posted: Wed May 30, 2012 11:26 am
by monsterhunter445
Combuster wrote:
I actually have proof for those who are disbelievers
It's definitely not proof, especially when you demonstrated earlier that the tools don't actually exist. The only thing I can conclude from that screenshot is that you managed to get the 32-bit barebones running, which is way before when you should be concerning yourself with newlib.
The tools does exist, or else how would I have been able to build a kernel and GRUB was able to boot it in VirtualBox using the cross compiler? Am I missing something here that I am not understanding? If the tool chain supposedly exists, then what are the proper way to set the environment variables? Because I am 100% positive, that I have build the tools correctly. Many might doubt, but I am pretty sure the enviroment variables are incorrect, and that is what is causing Newlib to fail when trying to build.

By the way I am not porting Newlib to my OS just building for the target system.

Re: Having Trouble Porting Newlib To My OS.

Posted: Wed May 30, 2012 3:48 pm
by bluemoon
monsterhunter445 wrote:Because I am 100% positive, that I have build the tools correctly.
My advice is never be 100% positive you are correct, if you are correct there should be no issue to fix, and you won't go anywhere with that confident of correctness. Think about every possible thing you may get wrong, narrow down by double check and method of eliminate.

Re: Having Trouble Porting Newlib.

Posted: Fri Jun 01, 2012 2:00 pm
by monsterhunter445
berkus wrote:Instead of posting bullshit screenshots, what are results of running:
x86_64-elf-cc
x86_64-elf-ar

because I'm seeing this in the logs:

Code: Select all

/bin/bash: x86_64-elf-cc: command not found
make[5]: *** [lib_a-bsearch.o] Error 127
make[5]: Leaving directory `/home/osdev/Desktop/src/build-newlib/x86_64-elf/newlib/libc/search'
Wtf is this?

Code: Select all

checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-pc-elf
Wtf is this?

Code: Select all


checking for x86_64-elf-cc... no
checking for x86_64-elf-gcc... no
checking for x86_64-elf-c++... no
checking for x86_64-elf-g++... no
checking for x86_64-elf-cxx... no
checking for x86_64-elf-gxx... no
checking for x86_64-elf-gcc... no
checking for x86_64-elf-gcj... no
checking for x86_64-elf-gfortran... no
checking for x86_64-elf-gccgo... no
checking for x86_64-elf-ar... no
checking for x86_64-elf-as... no
checking for x86_64-elf-dlltool... no
checking for x86_64-elf-ld... no
checking for x86_64-elf-lipo... no
checking for x86_64-elf-nm... no
checking for x86_64-elf-objdump... no
checking for x86_64-elf-ranlib... no
checking for x86_64-elf-readelf... no
checking for x86_64-elf-strip... no
checking for x86_64-elf-windres... no
checking for x86_64-elf-windmc... no
Why don't you LEARN TO READ first? (No need to answer this, I know you won't)
I did read that and I am aware that it cannot find the tools. But like I said I was able to use the tools. So I am pretty sure, that I have set the enviornment variables incorrectly.

Re: Having Trouble Porting Newlib To My OS.

Posted: Fri Jun 01, 2012 2:43 pm
by Combuster
Combuster wrote:32-bit barebones
I deliberately emphasised that bit for a reason. You demonstrated you have a 32-bit toolchain, not a 64-bit one.


Besides, I find the time between you downloading grub and getting it apparently running rather suspicious.