Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ diff -uN kernel/Makefile{.orig,}
- --- kernel/Makefile.orig 2020-11-24 21:52:30.087251642 +0200
- +++ kernel/Makefile 2020-11-24 22:31:10.922074797 +0200
- @@ -18,7 +18,7 @@
- CFLAGS:=$(CFLAGS) -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"$(GIT_VERSION)\"
- CPPFLAGS:=$(CPPFLAGS) -D__is_byok_kernel -Iinclude
- LDFLAGS:=$(LDFLAGS)
- -LIBS:=$(LIBS) -nostdlib -lgcc -lforth -lc -lm
- +LIBS:=$(LIBS) ../forth/libforth.a ../libc/libc.a -nostdlib -lgcc -lforth -lc -lm
- ARCHDIR:=src/arch/$(HOSTARCH)
- $ i686-linux-gnu-gcc -v
- Using built-in specs.
- COLLECT_GCC=i686-linux-gnu-gcc
- COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/6/lto-wrapper
- Target: i686-linux-gnu
- Configured with: ../src/configure -v --with-pkgversion='Debian 6.3.0-18+deb9u1' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=i686-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-i386/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-i386 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-i386 --with-arch-directory=i386 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-target-system-zlib --enable-objc-gc=auto --enable-targets=all --enable-multiarch --with-arch-32=i686 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
- Thread model: posix
- gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)
- $ HOST=i686-linux-gnu make clean build 2>&1 | tee make.log
- make -C fdlibm clean
- make[1]: Entering directory '/home/user/Downloads/byok-master/fdlibm'
- rm -f libm.a src/math/k_standard.o src/math/k_rem_pio2.o src/math/k_cos.o src/math/k_sin.o src/math/k_tan.o src/math/e_acos.o src/math/e_acosh.o src/math/e_asin.o src/math/e_atan2.o src/math/e_atanh.o src/math/e_cosh.o src/math/e_exp.o src/math/e_fmod.o src/math/e_gamma.o src/math/e_gamma_r.o src/math/e_hypot.o src/math/e_j0.o src/math/e_j1.o src/math/e_jn.o src/math/e_lgamma.o src/math/e_lgamma_r.o src/math/e_log.o src/math/e_log10.o src/math/e_pow.o src/math/e_rem_pio2.o src/math/e_remainder.o src/math/e_scalb.o src/math/e_sinh.o src/math/e_sqrt.o src/math/w_acos.o src/math/w_acosh.o src/math/w_asin.o src/math/w_atan2.o src/math/w_atanh.o src/math/w_cosh.o src/math/w_exp.o src/math/w_fmod.o src/math/w_gamma.o src/math/w_gamma_r.o src/math/w_hypot.o src/math/w_j0.o src/math/w_j1.o src/math/w_jn.o src/math/w_lgamma.o src/math/w_lgamma_r.o src/math/w_log.o src/math/w_log10.o src/math/w_pow.o src/math/w_remainder.o src/math/w_scalb.o src/math/w_sinh.o src/math/w_sqrt.o src/math/s_asinh.o src/math/s_atan.o src/math/s_cbrt.o src/math/s_ceil.o src/math/s_copysign.o src/math/s_cos.o src/math/s_erf.o src/math/s_expm1.o src/math/s_fabs.o src/math/s_finite.o src/math/s_floor.o src/math/s_frexp.o src/math/s_ilogb.o src/math/s_isnan.o src/math/s_ldexp.o src/math/s_lib_version.o src/math/s_log1p.o src/math/s_logb.o src/math/s_matherr.o src/math/s_modf.o src/math/s_nextafter.o src/math/s_rint.o src/math/s_scalbn.o src/math/s_signgam.o src/math/s_significand.o src/math/s_sin.o src/math/s_tan.o src/math/s_tanh.o *.o */*.o */*/*.o
- make[1]: Leaving directory '/home/user/Downloads/byok-master/fdlibm'
- make -C libc clean
- make[1]: Entering directory '/home/user/Downloads/byok-master/libc'
- rm -f libc.a libg.a src/stdio/printf.o src/stdio/putchar.o src/stdio/puts.o src/stdlib/abort.o src/stdlib/assert.o src/stdlib/itoa.o src/stdlib/dtoa.o src/stdlib/atoi.o src/stdlib/malloc.o src/stdlib/qsort.o src/string/memcmp.o src/string/memcpy.o src/string/memmove.o src/string/memset.o src/string/strcmp.o src/string/strlen.o src/string/strchr.o src/string/strdup.o src/string/strndup.o src/string/strpbrk.o src/string/strtok.o src/string/strsep.o src/string/strspn.o src/string/strtoupper.o src/string/trim.o src/regex/regex.o src/regex/re_fail.o *.o */*.o */*/*.o
- make[1]: Leaving directory '/home/user/Downloads/byok-master/libc'
- make -C kernel clean
- make[1]: Entering directory '/home/user/Downloads/byok-master/kernel'
- fatal: Not a git repository (or any of the parent directories): .git
- rm -f byok.kernel src/arch/i386/boot.o src/arch/i386/tty.o src/arch/i386/gdt.o src/arch/i386/idt.o src/arch/i386/irq.o src/arch/i386/isr.o src/arch/i386/sbrk.o src/arch/i386/timer.o src/arch/i386/kb.o src/arch/i386/mmu.o src/kernel/kernel.o src/kernel/boot_logo.o src/kernel/dump.o src/kernel/pager.o src/kernel/readline.o src/arch/i386/crti.o src/arch/i386/boot.o src/arch/i386/tty.o src/arch/i386/gdt.o src/arch/i386/idt.o src/arch/i386/irq.o src/arch/i386/isr.o src/arch/i386/sbrk.o src/arch/i386/timer.o src/arch/i386/kb.o src/arch/i386/mmu.o src/kernel/kernel.o src/kernel/boot_logo.o src/kernel/dump.o src/kernel/pager.o src/kernel/readline.o src/arch/i386/crtn.o *.o */*.o */*/*.o
- make[1]: Leaving directory '/home/user/Downloads/byok-master/kernel'
- make -C forth clean
- make[1]: Entering directory '/home/user/Downloads/byok-master/forth'
- rm -f libforth.a src/stack_machine/entry.o src/stack_machine/repl.o src/stack_machine/common.o src/stack_machine/error.o src/stack_machine/interpreter.o src/stack_machine/compiler.o src/stack_machine/slots.o src/util/history.o src/collections/list.o src/collections/dlist.o src/collections/stack.o src/collections/queue.o src/collections/hashtable.o src/primitives/stack_manip.o src/primitives/arithmetics.o src/primitives/io.o src/primitives/bit_logic.o src/primitives/comparison.o src/primitives/misc.o src/primitives/memory.o src/forth/resources.o src/editor/model.o src/editor/render.o src/editor/colorize.o src/editor/actions.o *.o */*.o */*/*.o
- make[1]: Leaving directory '/home/user/Downloads/byok-master/forth'
- rm -rf sysroot
- rm -rf isodir
- rm -rf byok.iso
- DESTDIR="/home/user/Downloads/byok-master/sysroot" make -C fdlibm install-headers
- make[1]: Entering directory '/home/user/Downloads/byok-master/fdlibm'
- mkdir -p /home/user/Downloads/byok-master/sysroot/usr/include
- cp -RT include /home/user/Downloads/byok-master/sysroot/usr/include
- make[1]: Leaving directory '/home/user/Downloads/byok-master/fdlibm'
- DESTDIR="/home/user/Downloads/byok-master/sysroot" make -C libc install-headers
- make[1]: Entering directory '/home/user/Downloads/byok-master/libc'
- mkdir -p /home/user/Downloads/byok-master/sysroot/usr/include
- cp -RT include /home/user/Downloads/byok-master/sysroot/usr/include
- make[1]: Leaving directory '/home/user/Downloads/byok-master/libc'
- DESTDIR="/home/user/Downloads/byok-master/sysroot" make -C forth install-headers
- make[1]: Entering directory '/home/user/Downloads/byok-master/forth'
- mkdir -p /home/user/Downloads/byok-master/sysroot/usr/include
- cp -RT include /home/user/Downloads/byok-master/sysroot/usr/include
- make[1]: Leaving directory '/home/user/Downloads/byok-master/forth'
- DESTDIR="/home/user/Downloads/byok-master/sysroot" make -C kernel install-headers
- make[1]: Entering directory '/home/user/Downloads/byok-master/kernel'
- fatal: Not a git repository (or any of the parent directories): .git
- mkdir -p /home/user/Downloads/byok-master/sysroot/usr/include
- cp -RT include /home/user/Downloads/byok-master/sysroot/usr/include
- make[1]: Leaving directory '/home/user/Downloads/byok-master/kernel'
- DESTDIR="/home/user/Downloads/byok-master/sysroot" make -C libc install
- make[1]: Entering directory '/home/user/Downloads/byok-master/libc'
- mkdir -p /home/user/Downloads/byok-master/sysroot/usr/include
- cp -RT include /home/user/Downloads/byok-master/sysroot/usr/include
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stdio/printf.c -o src/stdio/printf.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stdio/putchar.c -o src/stdio/putchar.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stdio/puts.c -o src/stdio/puts.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stdlib/abort.c -o src/stdlib/abort.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stdlib/assert.c -o src/stdlib/assert.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stdlib/itoa.c -o src/stdlib/itoa.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stdlib/dtoa.c -o src/stdlib/dtoa.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stdlib/atoi.c -o src/stdlib/atoi.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stdlib/malloc.c -o src/stdlib/malloc.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stdlib/qsort.c -o src/stdlib/qsort.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/memcmp.c -o src/string/memcmp.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/memcpy.c -o src/string/memcpy.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/memmove.c -o src/string/memmove.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/memset.c -o src/string/memset.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/strcmp.c -o src/string/strcmp.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/strlen.c -o src/string/strlen.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/strchr.c -o src/string/strchr.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/strdup.c -o src/string/strdup.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/strndup.c -o src/string/strndup.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/strpbrk.c -o src/string/strpbrk.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/strtok.c -o src/string/strtok.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/strsep.c -o src/string/strsep.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/strspn.c -o src/string/strspn.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/strtoupper.c -o src/string/strtoupper.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/string/trim.c -o src/string/trim.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/regex/regex.c -o src/regex/regex.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
- src/regex/regex.c: In function ‘re_comp’:
- src/regex/regex.c:263:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
- if (!pat || !*pat)
- ^
- src/regex/regex.c: In function ‘pmatch’:
- src/regex/regex.c:656:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
- if (lp!=bol && iswordc(lp[-1]) || !iswordc(*lp))
- ^
- src/regex/regex.c:699:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
- if (e = pmatch(lp, ap))
- ^~
- src/regex/regex.c: In function ‘re_subs’:
- src/regex/regex.c:763:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
- while (c = *src++) {
- ^~~~~
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/regex/re_fail.c -o src/regex/re_fail.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -D__is_byok_libc -Iinclude
- i686-linux-gnu-ar rcs libc.a src/stdio/printf.o src/stdio/putchar.o src/stdio/puts.o src/stdlib/abort.o src/stdlib/assert.o src/stdlib/itoa.o src/stdlib/dtoa.o src/stdlib/atoi.o src/stdlib/malloc.o src/stdlib/qsort.o src/string/memcmp.o src/string/memcpy.o src/string/memmove.o src/string/memset.o src/string/strcmp.o src/string/strlen.o src/string/strchr.o src/string/strdup.o src/string/strndup.o src/string/strpbrk.o src/string/strtok.o src/string/strsep.o src/string/strspn.o src/string/strtoupper.o src/string/trim.o src/regex/regex.o src/regex/re_fail.o
- i686-linux-gnu-ar rcs libg.a
- mkdir -p /home/user/Downloads/byok-master/sysroot/usr/lib
- cp libc.a libg.a /home/user/Downloads/byok-master/sysroot/usr/lib
- make[1]: Leaving directory '/home/user/Downloads/byok-master/libc'
- DESTDIR="/home/user/Downloads/byok-master/sysroot" make -C fdlibm install
- make[1]: Entering directory '/home/user/Downloads/byok-master/fdlibm'
- mkdir -p /home/user/Downloads/byok-master/sysroot/usr/include
- cp -RT include /home/user/Downloads/byok-master/sysroot/usr/include
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/k_standard.c -o src/math/k_standard.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/k_rem_pio2.c -o src/math/k_rem_pio2.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/k_cos.c -o src/math/k_cos.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/k_sin.c -o src/math/k_sin.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/k_tan.c -o src/math/k_tan.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_acos.c -o src/math/e_acos.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_acosh.c -o src/math/e_acosh.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_asin.c -o src/math/e_asin.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_atan2.c -o src/math/e_atan2.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_atanh.c -o src/math/e_atanh.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_cosh.c -o src/math/e_cosh.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_exp.c -o src/math/e_exp.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_fmod.c -o src/math/e_fmod.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_gamma.c -o src/math/e_gamma.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_gamma_r.c -o src/math/e_gamma_r.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_hypot.c -o src/math/e_hypot.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_j0.c -o src/math/e_j0.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_j1.c -o src/math/e_j1.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_jn.c -o src/math/e_jn.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_lgamma.c -o src/math/e_lgamma.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_lgamma_r.c -o src/math/e_lgamma_r.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_log.c -o src/math/e_log.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_log10.c -o src/math/e_log10.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_pow.c -o src/math/e_pow.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_rem_pio2.c -o src/math/e_rem_pio2.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_remainder.c -o src/math/e_remainder.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_scalb.c -o src/math/e_scalb.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_sinh.c -o src/math/e_sinh.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/e_sqrt.c -o src/math/e_sqrt.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_acos.c -o src/math/w_acos.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_acosh.c -o src/math/w_acosh.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_asin.c -o src/math/w_asin.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_atan2.c -o src/math/w_atan2.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_atanh.c -o src/math/w_atanh.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_cosh.c -o src/math/w_cosh.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_exp.c -o src/math/w_exp.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_fmod.c -o src/math/w_fmod.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_gamma.c -o src/math/w_gamma.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_gamma_r.c -o src/math/w_gamma_r.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_hypot.c -o src/math/w_hypot.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_j0.c -o src/math/w_j0.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_j1.c -o src/math/w_j1.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_jn.c -o src/math/w_jn.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_lgamma.c -o src/math/w_lgamma.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_lgamma_r.c -o src/math/w_lgamma_r.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_log.c -o src/math/w_log.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_log10.c -o src/math/w_log10.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_pow.c -o src/math/w_pow.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_remainder.c -o src/math/w_remainder.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_scalb.c -o src/math/w_scalb.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_sinh.c -o src/math/w_sinh.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/w_sqrt.c -o src/math/w_sqrt.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_asinh.c -o src/math/s_asinh.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_atan.c -o src/math/s_atan.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_cbrt.c -o src/math/s_cbrt.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_ceil.c -o src/math/s_ceil.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_copysign.c -o src/math/s_copysign.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_cos.c -o src/math/s_cos.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_erf.c -o src/math/s_erf.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_expm1.c -o src/math/s_expm1.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_fabs.c -o src/math/s_fabs.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_finite.c -o src/math/s_finite.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_floor.c -o src/math/s_floor.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_frexp.c -o src/math/s_frexp.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_ilogb.c -o src/math/s_ilogb.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_isnan.c -o src/math/s_isnan.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_ldexp.c -o src/math/s_ldexp.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_lib_version.c -o src/math/s_lib_version.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_log1p.c -o src/math/s_log1p.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_logb.c -o src/math/s_logb.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_matherr.c -o src/math/s_matherr.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_modf.c -o src/math/s_modf.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_nextafter.c -o src/math/s_nextafter.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_rint.c -o src/math/s_rint.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_scalbn.c -o src/math/s_scalbn.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_signgam.c -o src/math/s_signgam.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_significand.c -o src/math/s_significand.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_sin.c -o src/math/s_sin.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_tan.c -o src/math/s_tan.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/math/s_tanh.c -o src/math/s_tanh.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Imath
- i686-linux-gnu-ar rcs libm.a src/math/k_standard.o src/math/k_rem_pio2.o src/math/k_cos.o src/math/k_sin.o src/math/k_tan.o src/math/e_acos.o src/math/e_acosh.o src/math/e_asin.o src/math/e_atan2.o src/math/e_atanh.o src/math/e_cosh.o src/math/e_exp.o src/math/e_fmod.o src/math/e_gamma.o src/math/e_gamma_r.o src/math/e_hypot.o src/math/e_j0.o src/math/e_j1.o src/math/e_jn.o src/math/e_lgamma.o src/math/e_lgamma_r.o src/math/e_log.o src/math/e_log10.o src/math/e_pow.o src/math/e_rem_pio2.o src/math/e_remainder.o src/math/e_scalb.o src/math/e_sinh.o src/math/e_sqrt.o src/math/w_acos.o src/math/w_acosh.o src/math/w_asin.o src/math/w_atan2.o src/math/w_atanh.o src/math/w_cosh.o src/math/w_exp.o src/math/w_fmod.o src/math/w_gamma.o src/math/w_gamma_r.o src/math/w_hypot.o src/math/w_j0.o src/math/w_j1.o src/math/w_jn.o src/math/w_lgamma.o src/math/w_lgamma_r.o src/math/w_log.o src/math/w_log10.o src/math/w_pow.o src/math/w_remainder.o src/math/w_scalb.o src/math/w_sinh.o src/math/w_sqrt.o src/math/s_asinh.o src/math/s_atan.o src/math/s_cbrt.o src/math/s_ceil.o src/math/s_copysign.o src/math/s_cos.o src/math/s_erf.o src/math/s_expm1.o src/math/s_fabs.o src/math/s_finite.o src/math/s_floor.o src/math/s_frexp.o src/math/s_ilogb.o src/math/s_isnan.o src/math/s_ldexp.o src/math/s_lib_version.o src/math/s_log1p.o src/math/s_logb.o src/math/s_matherr.o src/math/s_modf.o src/math/s_nextafter.o src/math/s_rint.o src/math/s_scalbn.o src/math/s_signgam.o src/math/s_significand.o src/math/s_sin.o src/math/s_tan.o src/math/s_tanh.o
- mkdir -p /home/user/Downloads/byok-master/sysroot/usr/lib
- cp libm.a /home/user/Downloads/byok-master/sysroot/usr/lib
- make[1]: Leaving directory '/home/user/Downloads/byok-master/fdlibm'
- DESTDIR="/home/user/Downloads/byok-master/sysroot" make -C forth install
- make[1]: Entering directory '/home/user/Downloads/byok-master/forth'
- mkdir -p /home/user/Downloads/byok-master/sysroot/usr/include
- cp -RT include /home/user/Downloads/byok-master/sysroot/usr/include
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stack_machine/entry.c -o src/stack_machine/entry.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stack_machine/repl.c -o src/stack_machine/repl.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
- src/stack_machine/repl.c: In function ‘init_context’:
- src/stack_machine/repl.c:84:29: warning: passing argument 3 of ‘load’ from incompatible pointer type [-Wincompatible-pointer-types]
- load(ctx, "system.fth", &system_forth);
- ^
- In file included from src/stack_machine/repl.c:13:0:
- include/stack_machine/compiler.h:13:19: note: expected ‘char *’ but argument is of type ‘int *’
- extern context_t *load(context_t *ctx, char *filename, char *buf);
- ^~~~
- src/stack_machine/repl.c:90:31: warning: passing argument 3 of ‘load’ from incompatible pointer type [-Wincompatible-pointer-types]
- load(ctx, "examples.fth", &examples_forth);
- ^
- In file included from src/stack_machine/repl.c:13:0:
- include/stack_machine/compiler.h:13:19: note: expected ‘char *’ but argument is of type ‘int *’
- extern context_t *load(context_t *ctx, char *filename, char *buf);
- ^~~~
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stack_machine/common.c -o src/stack_machine/common.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stack_machine/error.c -o src/stack_machine/error.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stack_machine/interpreter.c -o src/stack_machine/interpreter.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stack_machine/compiler.c -o src/stack_machine/compiler.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
- src/stack_machine/compiler.c: In function ‘comma’:
- src/stack_machine/compiler.c:20:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- ctx->dp = align(ctx->dp);
- ^
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/stack_machine/slots.c -o src/stack_machine/slots.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
- src/stack_machine/slots.c: In function ‘slot_flush’:
- src/stack_machine/slots.c:13:21: warning: left shift of negative value [-Wshift-negative-value]
- #define SLOT_DIRTY 1<<0
- ^
- src/stack_machine/slots.c:34:25: note: in expansion of macro ‘SLOT_DIRTY’
- slot->flags &= ~SLOT_DIRTY;
- ^~~~~~~~~~
- src/stack_machine/slots.c: In function ‘slot_reload’:
- src/stack_machine/slots.c:13:21: warning: left shift of negative value [-Wshift-negative-value]
- #define SLOT_DIRTY 1<<0
- ^
- src/stack_machine/slots.c:51:21: note: in expansion of macro ‘SLOT_DIRTY’
- slot->flags &= ~SLOT_DIRTY;
- ^~~~~~~~~~
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/util/history.c -o src/util/history.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/collections/list.c -o src/collections/list.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/collections/dlist.c -o src/collections/dlist.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/collections/stack.c -o src/collections/stack.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/collections/queue.c -o src/collections/queue.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/collections/hashtable.c -o src/collections/hashtable.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/primitives/stack_manip.c -o src/primitives/stack_manip.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/primitives/arithmetics.c -o src/primitives/arithmetics.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/primitives/io.c -o src/primitives/io.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
- src/primitives/io.c: In function ‘__UDOT’:
- src/primitives/io.c:36:45: warning: signed and unsigned type in conditional expression [-Wsign-compare]
- printnum(num < 0 ? num + 0x80000000 : num, ctx->base);
- ^
- src/primitives/io.c: In function ‘__CLS’:
- src/primitives/io.c:100:26: warning: unused parameter ‘ctx’ [-Wunused-parameter]
- state_t __CLS(context_t *ctx)
- ^~~
- src/primitives/io.c: In function ‘__TYPE’:
- src/primitives/io.c:111:50: warning: passing argument 2 of ‘popnum’ makes pointer from integer without a cast [-Wint-conversion]
- if (popnum(ctx->ds, &num) && popnum(ctx->ds, (int)&addr))
- ^
- In file included from src/primitives/io.c:8:0:
- include/stack_machine/common.h:23:12: note: expected ‘int *’ but argument is of type ‘int’
- extern int popnum(stack_t *stack, int *num);
- ^~~~~~
- src/primitives/io.c: In function ‘__CURSOR’:
- src/primitives/io.c:172:25: warning: pointer targets in passing argument 2 of ‘popnum’ differ in signedness [-Wpointer-sign]
- if (popnum(ctx->ds, &end) && popnum(ctx->ds, &start))
- ^
- In file included from src/primitives/io.c:8:0:
- include/stack_machine/common.h:23:12: note: expected ‘int *’ but argument is of type ‘unsigned int *’
- extern int popnum(stack_t *stack, int *num);
- ^~~~~~
- src/primitives/io.c:172:50: warning: pointer targets in passing argument 2 of ‘popnum’ differ in signedness [-Wpointer-sign]
- if (popnum(ctx->ds, &end) && popnum(ctx->ds, &start))
- ^
- In file included from src/primitives/io.c:8:0:
- include/stack_machine/common.h:23:12: note: expected ‘int *’ but argument is of type ‘unsigned int *’
- extern int popnum(stack_t *stack, int *num);
- ^~~~~~
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/primitives/bit_logic.c -o src/primitives/bit_logic.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/primitives/comparison.c -o src/primitives/comparison.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/primitives/misc.c -o src/primitives/misc.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
- src/primitives/misc.c: In function ‘__LICENSE’:
- src/primitives/misc.c:15:30: warning: unused parameter ‘ctx’ [-Wunused-parameter]
- state_t __LICENSE(context_t *ctx)
- ^~~
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/primitives/memory.c -o src/primitives/memory.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
- src/primitives/memory.c: In function ‘__NEST’:
- src/primitives/memory.c:18:13: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
- ctx->ip = ++ctx->w.ptr;
- ^
- src/primitives/memory.c: In function ‘__MOVE’:
- src/primitives/memory.c:428:25: warning: passing argument 2 of ‘popnum’ makes pointer from integer without a cast [-Wint-conversion]
- if (popnum(ctx->ds, (int)&u) && popnum(ctx->ds, &a2) && popnum(ctx->ds, &a1))
- ^
- In file included from src/primitives/memory.c:9:0:
- include/stack_machine/common.h:23:12: note: expected ‘int *’ but argument is of type ‘int’
- extern int popnum(stack_t *stack, int *num);
- ^~~~~~
- src/primitives/memory.c:428:53: warning: pointer targets in passing argument 2 of ‘popnum’ differ in signedness [-Wpointer-sign]
- if (popnum(ctx->ds, (int)&u) && popnum(ctx->ds, &a2) && popnum(ctx->ds, &a1))
- ^
- In file included from src/primitives/memory.c:9:0:
- include/stack_machine/common.h:23:12: note: expected ‘int *’ but argument is of type ‘addr_t * {aka unsigned int *}’
- extern int popnum(stack_t *stack, int *num);
- ^~~~~~
- src/primitives/memory.c:428:77: warning: pointer targets in passing argument 2 of ‘popnum’ differ in signedness [-Wpointer-sign]
- if (popnum(ctx->ds, (int)&u) && popnum(ctx->ds, &a2) && popnum(ctx->ds, &a1))
- ^
- In file included from src/primitives/memory.c:9:0:
- include/stack_machine/common.h:23:12: note: expected ‘int *’ but argument is of type ‘addr_t * {aka unsigned int *}’
- extern int popnum(stack_t *stack, int *num);
- ^~~~~~
- src/primitives/memory.c: In function ‘__CMOVE’:
- src/primitives/memory.c:446:25: warning: pointer targets in passing argument 2 of ‘popnum’ differ in signedness [-Wpointer-sign]
- if (popnum(ctx->ds, &u) && popnum(ctx->ds, &a2) && popnum(ctx->ds, &a1))
- ^
- In file included from src/primitives/memory.c:9:0:
- include/stack_machine/common.h:23:12: note: expected ‘int *’ but argument is of type ‘unsigned int *’
- extern int popnum(stack_t *stack, int *num);
- ^~~~~~
- src/primitives/memory.c:446:48: warning: pointer targets in passing argument 2 of ‘popnum’ differ in signedness [-Wpointer-sign]
- if (popnum(ctx->ds, &u) && popnum(ctx->ds, &a2) && popnum(ctx->ds, &a1))
- ^
- In file included from src/primitives/memory.c:9:0:
- include/stack_machine/common.h:23:12: note: expected ‘int *’ but argument is of type ‘addr_t * {aka unsigned int *}’
- extern int popnum(stack_t *stack, int *num);
- ^~~~~~
- src/primitives/memory.c:446:72: warning: pointer targets in passing argument 2 of ‘popnum’ differ in signedness [-Wpointer-sign]
- if (popnum(ctx->ds, &u) && popnum(ctx->ds, &a2) && popnum(ctx->ds, &a1))
- ^
- In file included from src/primitives/memory.c:9:0:
- include/stack_machine/common.h:23:12: note: expected ‘int *’ but argument is of type ‘addr_t * {aka unsigned int *}’
- extern int popnum(stack_t *stack, int *num);
- ^~~~~~
- src/primitives/memory.c: In function ‘__NAME_GT’:
- src/primitives/memory.c:520:26: warning: passing argument 2 of ‘pushnum’ makes integer from pointer without a cast [-Wint-conversion]
- pushnum(ctx->ds, entry->name);
- ^~~~~
- In file included from src/primitives/memory.c:9:0:
- include/stack_machine/common.h:25:12: note: expected ‘int’ but argument is of type ‘char *’
- extern int pushnum(stack_t *stack, int num);
- ^~~~~~~
- src/primitives/memory.c: In function ‘__LATEST’:
- src/primitives/memory.c:532:22: warning: passing argument 2 of ‘pushnum’ makes integer from pointer without a cast [-Wint-conversion]
- pushnum(ctx->ds, ctx->last_word);
- ^~~
- In file included from src/primitives/memory.c:9:0:
- include/stack_machine/common.h:25:12: note: expected ‘int’ but argument is of type ‘entry_t * {aka struct <anonymous> *}’
- extern int pushnum(stack_t *stack, int num);
- ^~~~~~~
- src/primitives/memory.c: In function ‘print_line’:
- src/primitives/memory.c:548:15: warning: implicit declaration of function ‘rpad’ [-Wimplicit-function-declaration]
- out = rpad(out, hex_addr, 8, '0');
- ^~~~
- src/primitives/memory.c:548:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- out = rpad(out, hex_addr, 8, '0');
- ^
- src/primitives/memory.c:549:15: warning: implicit declaration of function ‘write’ [-Wimplicit-function-declaration]
- out = write(out, ':');
- ^~~~~
- src/primitives/memory.c:549:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- out = write(out, ':');
- ^
- src/primitives/memory.c:550:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- out = write(out, ' ');
- ^
- src/primitives/memory.c:551:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- out = write(out, ' ');
- ^
- src/primitives/memory.c:553:15: warning: implicit declaration of function ‘hex_bytes’ [-Wimplicit-function-declaration]
- out = hex_bytes(out, &value, 4);
- ^~~~~~~~~
- src/primitives/memory.c:553:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- out = hex_bytes(out, &value, 4);
- ^
- src/primitives/memory.c:554:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- out = write(out, ' ');
- ^
- src/primitives/memory.c:555:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- out = write(out, '|');
- ^
- src/primitives/memory.c:556:15: warning: implicit declaration of function ‘safe_puts’ [-Wimplicit-function-declaration]
- out = safe_puts(out, &value, 4);
- ^~~~~~~~~
- src/primitives/memory.c:556:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- out = safe_puts(out, &value, 4);
- ^
- src/primitives/memory.c:557:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- out = write(out, '|');
- ^
- src/primitives/memory.c:559:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- out = write(out, ' ');
- ^
- src/primitives/memory.c:560:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
- out = write(out, ' ');
- ^
- src/primitives/memory.c: In function ‘__DISASSEMBLE’:
- src/primitives/memory.c:581:28: warning: passing argument 1 of ‘print_line’ makes integer from pointer without a cast [-Wint-conversion]
- print_line(&addr.ptr[i], value, entry->name);
- ^
- src/primitives/memory.c:540:10: note: expected ‘unsigned int’ but argument is of type ‘int *’
- void print_line(unsigned int addr, unsigned int value, char *name)
- ^~~~~~~~~~
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/forth/resources.S -o src/forth/resources.o -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/editor/model.c -o src/editor/model.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/editor/render.c -o src/editor/render.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/editor/colorize.c -o src/editor/colorize.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/editor/actions.c -o src/editor/actions.o -std=gnu11 -O2 -g -Wall -Wextra -ffreestanding -fno-builtin -Iinclude
- i686-linux-gnu-ar rcs libforth.a src/stack_machine/entry.o src/stack_machine/repl.o src/stack_machine/common.o src/stack_machine/error.o src/stack_machine/interpreter.o src/stack_machine/compiler.o src/stack_machine/slots.o src/util/history.o src/collections/list.o src/collections/dlist.o src/collections/stack.o src/collections/queue.o src/collections/hashtable.o src/primitives/stack_manip.o src/primitives/arithmetics.o src/primitives/io.o src/primitives/bit_logic.o src/primitives/comparison.o src/primitives/misc.o src/primitives/memory.o src/forth/resources.o src/editor/model.o src/editor/render.o src/editor/colorize.o src/editor/actions.o
- mkdir -p /home/user/Downloads/byok-master/sysroot/usr/lib
- cp libforth.a /home/user/Downloads/byok-master/sysroot/usr/lib
- make[1]: Leaving directory '/home/user/Downloads/byok-master/forth'
- DESTDIR="/home/user/Downloads/byok-master/sysroot" make -C kernel install
- make[1]: Entering directory '/home/user/Downloads/byok-master/kernel'
- fatal: Not a git repository (or any of the parent directories): .git
- mkdir -p /home/user/Downloads/byok-master/sysroot/usr/include
- cp -RT include /home/user/Downloads/byok-master/sysroot/usr/include
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/arch/i386/crti.S -o src/arch/i386/crti.o -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/arch/i386/boot.S -o src/arch/i386/boot.o -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/arch/i386/tty.c -o src/arch/i386/tty.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
- In file included from src/arch/i386/tty.c:8:0:
- include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
- #undef __STDC_HOSTED__
- ^~~~~~~~~~~~~~~
- src/arch/i386/tty.c: In function ‘terminal_colorstring’:
- src/arch/i386/tty.c:194:46: warning: passing argument 2 of ‘colorizer->fn’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
- : colorizer->fn(token, data, index, colorizer->free_vars);
- ^~~~
- src/arch/i386/tty.c:194:46: note: expected ‘char *’ but argument is of type ‘const char *’
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/arch/i386/gdt.c -o src/arch/i386/gdt.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
- In file included from include/kernel/system.h:13:0,
- from src/arch/i386/gdt.c:1:
- include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
- #undef __STDC_HOSTED__
- ^~~~~~~~~~~~~~~
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/arch/i386/idt.c -o src/arch/i386/idt.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
- In file included from include/kernel/system.h:13:0,
- from src/arch/i386/idt.c:2:
- include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
- #undef __STDC_HOSTED__
- ^~~~~~~~~~~~~~~
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/arch/i386/irq.c -o src/arch/i386/irq.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
- In file included from include/kernel/system.h:13:0,
- from src/arch/i386/irq.c:2:
- include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
- #undef __STDC_HOSTED__
- ^~~~~~~~~~~~~~~
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/arch/i386/isr.c -o src/arch/i386/isr.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
- In file included from include/kernel/system.h:13:0,
- from src/arch/i386/isr.c:3:
- include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
- #undef __STDC_HOSTED__
- ^~~~~~~~~~~~~~~
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/arch/i386/sbrk.c -o src/arch/i386/sbrk.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
- In file included from include/kernel/system.h:13:0,
- from src/arch/i386/sbrk.c:2:
- include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
- #undef __STDC_HOSTED__
- ^~~~~~~~~~~~~~~
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/arch/i386/timer.c -o src/arch/i386/timer.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
- In file included from include/kernel/system.h:13:0,
- from src/arch/i386/timer.c:1:
- include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
- #undef __STDC_HOSTED__
- ^~~~~~~~~~~~~~~
- src/arch/i386/timer.c: In function ‘timer_handler’:
- src/arch/i386/timer.c:8:33: warning: unused parameter ‘r’ [-Wunused-parameter]
- void timer_handler(registers_t *r)
- ^
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/arch/i386/kb.c -o src/arch/i386/kb.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
- In file included from include/kernel/system.h:13:0,
- from src/arch/i386/kb.c:3:
- include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
- #undef __STDC_HOSTED__
- ^~~~~~~~~~~~~~~
- src/arch/i386/kb.c: In function ‘keyboard_handler’:
- src/arch/i386/kb.c:97:36: warning: unused parameter ‘r’ [-Wunused-parameter]
- void keyboard_handler(registers_t *r)
- ^
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/arch/i386/mmu.c -o src/arch/i386/mmu.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
- In file included from include/kernel/system.h:13:0,
- from src/arch/i386/mmu.c:1:
- include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
- #undef __STDC_HOSTED__
- ^~~~~~~~~~~~~~~
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/kernel/kernel.c -o src/kernel/kernel.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
- In file included from src/kernel/kernel.c:7:0:
- include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
- #undef __STDC_HOSTED__
- ^~~~~~~~~~~~~~~
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/kernel/boot_logo.c -o src/kernel/boot_logo.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
- In file included from src/kernel/boot_logo.c:2:0:
- include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
- #undef __STDC_HOSTED__
- ^~~~~~~~~~~~~~~
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/kernel/dump.c -o src/kernel/dump.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
- src/kernel/dump.c: In function ‘dump’:
- src/kernel/dump.c:75:18: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
- char **ptr = ret;
- ^~~
- src/kernel/dump.c:76:17: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
- char *out = ret + lines + 2;
- ^~~
- src/kernel/dump.c:82:20: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
- for (char *a = start; a < end; a += bytes_per_line)
- ^~~~~
- src/kernel/dump.c:138:12: warning: return from incompatible pointer type [-Wincompatible-pointer-types]
- return ret;
- ^~~
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/kernel/pager.c -o src/kernel/pager.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
- In file included from src/kernel/pager.c:5:0:
- include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
- #undef __STDC_HOSTED__
- ^~~~~~~~~~~~~~~
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/kernel/readline.c -o src/kernel/readline.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
- In file included from include/kernel/system.h:13:0,
- from src/kernel/readline.c:3:
- include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
- #undef __STDC_HOSTED__
- ^~~~~~~~~~~~~~~
- src/kernel/readline.c: In function ‘rl_prev_word’:
- src/kernel/readline.c:103:18: warning: comparison is always true due to limited range of data type [-Wtype-limits]
- while (index >= 0 && buf[index - 1] == ' ')
- ^~
- In file included from src/kernel/readline.c:2:0:
- src/kernel/readline.c: In function ‘rl_next_word’:
- src/kernel/readline.c:118:18: warning: comparison is always true due to limited range of data type [-Wtype-limits]
- assert(index >= 0);
- ^
- src/kernel/readline.c: In function ‘rl_get_token’:
- src/kernel/readline.c:208:56: warning: unused parameter ‘sz’ [-Wunused-parameter]
- char *rl_get_token(char *buf, uint16_t index, uint16_t sz)
- ^~
- src/kernel/readline.c: In function ‘readline’:
- src/kernel/readline.c:432:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
- for (int i = 0, n = strlen(yank[posn]); i < n; i++)
- ^
- src/kernel/readline.c:434:47: warning: array subscript has type ‘char’ [-Wchar-subscripts]
- if (rl_insert(buf, index, yank[posn][i], sz))
- ^
- src/arch/i386/kb.c: In function ‘keyboard_handler’:
- src/arch/i386/kb.c:97:36: warning: unused parameter ‘r’ [-Wunused-parameter]
- void keyboard_handler(registers_t *r)
- ^
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/arch/i386/mmu.c -o src/arch/i386/mmu.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
- In file included from include/kernel/system.h:13:0,
- from src/arch/i386/mmu.c:1:
- include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
- #undef __STDC_HOSTED__
- ^~~~~~~~~~~~~~~
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/kernel/kernel.c -o src/kernel/kernel.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
- In file included from src/kernel/kernel.c:7:0:
- include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
- #undef __STDC_HOSTED__
- ^~~~~~~~~~~~~~~
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/kernel/boot_logo.c -o src/kernel/boot_logo.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
- In file included from src/kernel/boot_logo.c:2:0:
- include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
- #undef __STDC_HOSTED__
- ^~~~~~~~~~~~~~~
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/kernel/dump.c -o src/kernel/dump.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
- src/kernel/dump.c: In function ‘dump’:
- src/kernel/dump.c:75:18: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
- char **ptr = ret;
- ^~~
- src/kernel/dump.c:76:17: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
- char *out = ret + lines + 2;
- ^~~
- src/kernel/dump.c:82:20: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
- for (char *a = start; a < end; a += bytes_per_line)
- ^~~~~
- src/kernel/dump.c:138:12: warning: return from incompatible pointer type [-Wincompatible-pointer-types]
- return ret;
- ^~~
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/kernel/pager.c -o src/kernel/pager.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
- In file included from src/kernel/pager.c:5:0:
- include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
- #undef __STDC_HOSTED__
- ^~~~~~~~~~~~~~~
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/kernel/readline.c -o src/kernel/readline.o -std=gnu11 -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
- In file included from include/kernel/system.h:13:0,
- from src/kernel/readline.c:3:
- include/kernel/tty.h:4:8: warning: undefining "__STDC_HOSTED__"
- #undef __STDC_HOSTED__
- ^~~~~~~~~~~~~~~
- src/kernel/readline.c: In function ‘rl_prev_word’:
- src/kernel/readline.c:103:18: warning: comparison is always true due to limited range of data type [-Wtype-limits]
- while (index >= 0 && buf[index - 1] == ' ')
- ^~
- In file included from src/kernel/readline.c:2:0:
- src/kernel/readline.c: In function ‘rl_next_word’:
- src/kernel/readline.c:118:18: warning: comparison is always true due to limited range of data type [-Wtype-limits]
- assert(index >= 0);
- ^
- src/kernel/readline.c: In function ‘rl_get_token’:
- src/kernel/readline.c:208:56: warning: unused parameter ‘sz’ [-Wunused-parameter]
- char *rl_get_token(char *buf, uint16_t index, uint16_t sz)
- ^~
- src/kernel/readline.c: In function ‘readline’:
- src/kernel/readline.c:432:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
- for (int i = 0, n = strlen(yank[posn]); i < n; i++)
- ^
- src/kernel/readline.c:434:47: warning: array subscript has type ‘char’ [-Wchar-subscripts]
- if (rl_insert(buf, index, yank[posn][i], sz))
- ^
- src/kernel/readline.c:462:21: warning: unused variable ‘n’ [-Wunused-variable]
- int n = rl_replace_word(buf, orig_text, new_text, index, sz);
- ^
- src/kernel/readline.c:471:21: warning: unused variable ‘n’ [-Wunused-variable]
- int n = rl_replace_word(buf, orig_text, orig_text, index, sz);
- ^
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -c src/arch/i386/crtn.S -o src/arch/i386/crtn.o -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" -D__is_byok_kernel -Iinclude
- i686-linux-gnu-gcc --sysroot=/home/user/Downloads/byok-master/sysroot -isystem=/usr/include -T src/arch/i386/linker.ld -o byok.kernel -O2 -g -ffreestanding -fno-builtin -Wall -Wextra -DVERSION=\"\" src/arch/i386/crti.o /usr/lib/gcc/i686-linux-gnu/6/crtbegin.o src/arch/i386/boot.o src/arch/i386/tty.o src/arch/i386/gdt.o src/arch/i386/idt.o src/arch/i386/irq.o src/arch/i386/isr.o src/arch/i386/sbrk.o src/arch/i386/timer.o src/arch/i386/kb.o src/arch/i386/mmu.o src/kernel/kernel.o src/kernel/boot_logo.o src/kernel/dump.o src/kernel/pager.o src/kernel/readline.o /usr/lib/gcc/i686-linux-gnu/6/crtend.o src/arch/i386/crtn.o ../forth/libforth.a ../libc/libc.a -nostdlib -lgcc -lforth -lc -lm
- mkdir -p /home/user/Downloads/byok-master/sysroot/boot
- cp byok.kernel /home/user/Downloads/byok-master/sysroot/boot
- make[1]: Leaving directory '/home/user/Downloads/byok-master/kernel'
- $ qemu-system-i386 -kernel kernel/byok.kernel
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement