Displaying 1 result from an estimated 1 matches for "setjmp_x86_32".
2006 May 11
11
[PATCH] Integrating applications into Mini-OS
...nding it with an application. All that is
required is a change to Makefile, and a small change to kernel.c,
printf.c, and string.c. I have enclosed the patch.
With this patch, one could write an application in a file called, say,
app.c, and add it to the Mini-OS directory along with newlib.c and
setjmp_x86_32.S, the two files I use to adapt newlib to the Mini-OS
environment. One would compile and link it with newlib, with the
command:
#! /bin/sh
COMP_HOME=${HOME}/opt/cross/i386-elf
CPPFLAGS="-DINIT_APP -DHAVE_LIBC"
LDLIBS="-lc -lnosys"
export PATH=${COMP_HOME}/bin:$PATH
exec make...