Posted by
timothy
on from the count-to-ten-very-slowly dept.
An anonymous reader writes "TCCBOOT is the first boot loader able to compile and boot a Linux kernel directly from its source code. It can compile and start booting a typical Linux kernel in less than 15 seconds on a 2.4 GHz Pentium 4. TCCBOOT uses the latest version of the TinyCC C compiler."
Can someone help me build tcc under Cygwin?
by
toby
·
· Score: 0, Offtopic
Binary directory/usr/local/bin Library directory/usr/local/lib Include directory/usr/local/include Manual directory/usr/local/man Doc directory/usr/local/share/doc/tcc Source path/home/Toby/tcc-0.9.21 C compiler gcc make make CPU x86 Big Endian no gprof enabled no Creating config.mak and config.h config.h is unchanged gcc -O2 -g -Wall -mpreferred-stack-boundary=2 -march=i386 -falign-functions=0 -o tcc_g tcc.c -ldl tcc.c:48:26: sys/ucontext.h: No such file or directory tcc.c: In function `ieee_finite': tcc.c:914: warning: dereferencing type-punned pointer will break strict-aliasing rules In file included from tcc.c:9137: tccelf.c: In function `resolve_sym': tccelf.c:390: error: `RTLD_DEFAULT' undeclared (first use in this function) tccelf.c:390: error: (Each undeclared identifier is reported only once tccelf.c:390: error: for each function it appears in.) tcc.c: At top level: tcc.c:9277: error: parse error before "ucontext_t" tcc.c: In function `rt_get_caller_pc': tcc.c:9282: error: `level' undeclared (first use in this function) tcc.c:9288: error: `paddr' undeclared (first use in this function) tcc.c:9288: error: `uc' undeclared (first use in this function) tcc.c:9288: error: `EIP' undeclared (first use in this function) tcc.c:9297: error: `EBP' undeclared (first use in this function) tcc.c: At top level: tcc.c:9321: error: parse error before '*' token tcc.c: In function `rt_error': tcc.c:9327: error: `fmt' undeclared (first use in this function) tcc.c:9332: error: `uc' undeclared (first use in this function) tcc.c:9327: error: `va_start' used in function with fixed args tcc.c: In function `sig_error': tcc.c:9347: error: `ucontext_t' undeclared (first use in this function) tcc.c:9347: error: `uc' undeclared (first use in this function) tcc.c: In function `expand_args': tcc.c:10090: warning: dereferencing type-punned pointer will break strict-aliasing rules tcc.c: In function `parse_args': tcc.c:10122: warning: dereferencing type-punned pointer will break strict-aliasing rules tcc.c:10193: warning: dereferencing type-punned pointer will break strict-aliasing rules make: *** [tcc_g] Error 1
Binary directory /usr/local/bin /usr/local/lib /usr/local/include /usr/local/man /usr/local/share/doc/tcc /home/Toby/tcc-0.9.21
Library directory
Include directory
Manual directory
Doc directory
Source path
C compiler gcc
make make
CPU x86
Big Endian no
gprof enabled no
Creating config.mak and config.h
config.h is unchanged
gcc -O2 -g -Wall -mpreferred-stack-boundary=2 -march=i386 -falign-functions=0 -o tcc_g tcc.c -ldl
tcc.c:48:26: sys/ucontext.h: No such file or directory
tcc.c: In function `ieee_finite':
tcc.c:914: warning: dereferencing type-punned pointer will break strict-aliasing rules
In file included from tcc.c:9137:
tccelf.c: In function `resolve_sym':
tccelf.c:390: error: `RTLD_DEFAULT' undeclared (first use in this function)
tccelf.c:390: error: (Each undeclared identifier is reported only once
tccelf.c:390: error: for each function it appears in.)
tcc.c: At top level:
tcc.c:9277: error: parse error before "ucontext_t"
tcc.c: In function `rt_get_caller_pc':
tcc.c:9282: error: `level' undeclared (first use in this function)
tcc.c:9288: error: `paddr' undeclared (first use in this function)
tcc.c:9288: error: `uc' undeclared (first use in this function)
tcc.c:9288: error: `EIP' undeclared (first use in this function)
tcc.c:9297: error: `EBP' undeclared (first use in this function)
tcc.c: At top level:
tcc.c:9321: error: parse error before '*' token
tcc.c: In function `rt_error':
tcc.c:9327: error: `fmt' undeclared (first use in this function)
tcc.c:9332: error: `uc' undeclared (first use in this function)
tcc.c:9327: error: `va_start' used in function with fixed args
tcc.c: In function `sig_error':
tcc.c:9347: error: `ucontext_t' undeclared (first use in this function)
tcc.c:9347: error: `uc' undeclared (first use in this function)
tcc.c: In function `expand_args':
tcc.c:10090: warning: dereferencing type-punned pointer will break strict-aliasing rules
tcc.c: In function `parse_args':
tcc.c:10122: warning: dereferencing type-punned pointer will break strict-aliasing rules
tcc.c:10193: warning: dereferencing type-punned pointer will break strict-aliasing rules
make: *** [tcc_g] Error 1
you had me at #!