Closed GoogleCodeExporter closed 9 years ago
делаю то же самое. вот результат.
не знаю, что за ошибки альфы, спарка,
соляриса и прочего. их нет при сборке. я еще
в прошлом семестре убрал их. все работает.
попробуй скачать заново именно версию с
гугл-кода. не обновить, а заменить папку lcc.
heimdall@ASGARD:~/hera-mcst/lcc$ sudo ./rbld
rm -f //tst/8q //tst/8q.s //tst/8q.2 //tst/8q.1
rm -f //tst/array //tst/array.s //tst/array.2 //tst/array.1
rm -f //tst/cf //tst/cf.s //tst/cf.2 //tst/cf.1
rm -f //tst/cq //tst/cq.s //tst/cq.2 //tst/cq.1
rm -f //tst/cvt //tst/cvt.s //tst/cvt.2 //tst/cvt.1
rm -f //tst/fields //tst/fields.s //tst/fields.2 //tst/fields.1
rm -f //tst/front //tst/front.s //tst/front.2 //tst/front.1
rm -f //tst/incr //tst/incr.s //tst/incr.2 //tst/incr.1
rm -f //tst/init //tst/init.s //tst/init.2 //tst/init.1
rm -f //tst/limits //tst/limits.s //tst/limits.2 //tst/limits.1
rm -f //tst/paranoia //tst/paranoia.s //tst/paranoia.2 //tst/paranoia.1
rm -f //tst/sort //tst/sort.s //tst/sort.2 //tst/sort.1
rm -f //tst/spill //tst/spill.s //tst/spill.2 //tst/spill.1
rm -f //tst/stdarg //tst/stdarg.s //tst/stdarg.2 //tst/stdarg.1
rm -f //tst/struct //tst/struct.s //tst/struct.2 //tst/struct.1
rm -f //tst/switch //tst/switch.s //tst/switch.2 //tst/switch.1
rm -f //tst/wf1 //tst/wf1.s //tst/wf1.2 //tst/wf1.1
rm -f //tst/yacc //tst/yacc.s //tst/yacc.2 //tst/yacc.1
rm -f /*.o
rm -f /hera.c
rm -f /rcc1 /rcc1 /1rcc /2rcc
rm -f /*.ilk
Building lcc for TARGET=hera-unix HOST=unix with exec_prefix=build
The build requires about 11MB of free space under /usr/tmp
Check that you have enough:
Файловая система 1K-блоков
использовано, Разрешено использовать%
смонтирована на
/dev/sda6 50393796 4630692 43203208 10% /
Creating temporary build directory tree in /usr/tmp/lcc/hera/unix
Checking for ANSI/ISO Standard C compiler
COMPILERS=gcc
Trying CC=gcc for compilation of Standard C test file
gcc -c -o /usr/tmp/lcc/hera/unix/try.o /usr/tmp/lcc/hera/unix/try.c
Using ANSI/ISO Standard C compiler: CC=gcc
Making lcc driver ...
make CC=gcc LD=gcc HOSTFILE=etc/unix.c lcc CFLAGS='-DLCCDIR="build/lib/lcc/"'
make: Цель `lcc' не требует выполнения команд.
Building compiler and accessories ...
make CC=gcc LD=gcc all
gcc -g -c -Isrc -o /usr/tmp/lcc/hera/unix/hera.o /usr/tmp/lcc/hera/unix/hera.c
ar ruv /usr/tmp/lcc/hera/unix/librcc.a /usr/tmp/lcc/hera/unix/alloc.o
/usr/tmp/lcc/hera/unix/bind.o /usr/tmp/lcc/hera/unix/dag.o
/usr/tmp/lcc/hera/unix/decl.o /usr/tmp/lcc/hera/unix/enode.o
/usr/tmp/lcc/hera/unix/error.o /usr/tmp/lcc/hera/unix/expr.o
/usr/tmp/lcc/hera/unix/event.o /usr/tmp/lcc/hera/unix/init.o
/usr/tmp/lcc/hera/unix/inits.o /usr/tmp/lcc/hera/unix/input.o
/usr/tmp/lcc/hera/unix/lex.o /usr/tmp/lcc/hera/unix/list.o
/usr/tmp/lcc/hera/unix/main.o /usr/tmp/lcc/hera/unix/output.o
/usr/tmp/lcc/hera/unix/prof.o /usr/tmp/lcc/hera/unix/profio.o
/usr/tmp/lcc/hera/unix/simp.o /usr/tmp/lcc/hera/unix/stmt.o
/usr/tmp/lcc/hera/unix/string.o /usr/tmp/lcc/hera/unix/sym.o
/usr/tmp/lcc/hera/unix/trace.o /usr/tmp/lcc/hera/unix/tree.o
/usr/tmp/lcc/hera/unix/types.o /usr/tmp/lcc/hera/unix/null.o
/usr/tmp/lcc/hera/unix/symbolic.o /usr/tmp/lcc/hera/unix/gen.o
/usr/tmp/lcc/hera/unix/bytecode.o /usr/tmp/lcc/hera/unix/stab.o
/usr/tmp/lcc/hera/unix/hera.o; ranlib /usr/tmp/lcc/hera/unix/librcc.a || true
r - /usr/tmp/lcc/hera/unix/hera.o
gcc -g -o /usr/tmp/lcc/hera/unix/rcc /usr/tmp/lcc/hera/unix/main.o
/usr/tmp/lcc/hera/unix/librcc.a
Compiler test 1 ...
skipping for the moment
Compiler test 2 ...
skipping for the moment
Compiler test 3 ...
skipping for the moment
Cross-compiler code generation tests ...
skipping for the moment
Installing user-callable programs ...
-rwxrwxr-x 2 root root 45764 2011-03-28 12:18 build/bin/lburg
-rwxrwxr-x 2 root root 45764 2011-03-28 12:18 build/bin/lburg-lcc
-rwxrwxr-x 2 root root 27179 2011-03-28 12:18 build/bin/lcc
-rwxrwxr-x 2 root root 27179 2011-03-28 12:18 build/bin/lcc-lcc
-rwxrwxr-x 2 root root 26320 2011-03-28 12:20 build/bin/bprint
-rwxrwxr-x 2 root root 26320 2011-03-28 12:20 build/bin/bprint-lcc
Installing auxiliary programs and run-time libraries ...
-rwxrwxr-x 1 root root 997549 2011-03-28 12:29 build/lib/lcc/rcc
-rwxrwxr-x 1 root root 79348 2011-03-28 12:20 build/lib/lcc/cpp
-rw-rw-r-- 1 root root 8968 2011-03-28 12:20 build/lib/lcc/bbexit.o
-rw-rw-r-- 1 root root 18570 2011-03-28 12:29 build/lib/lcc/liblcc.a
-rw-rw-r-- 1 root root 1411334 2011-03-28 12:29 build/lib/lcc/librcc.a
Installing include files ...
-rwxr-xr-x 1 heimdall heimdall 282 2011-03-17 23:53
build/lib/lcc/include/assert.h
-rwxr-xr-x 1 heimdall heimdall 1159 2011-03-17 23:53
build/lib/lcc/include/ctype.h
-rwxr-xr-x 1 heimdall heimdall 107 2011-03-17 23:53
build/lib/lcc/include/errno.h
-rwxr-xr-x 1 heimdall heimdall 953 2011-03-17 23:53
build/lib/lcc/include/float.h
-rwxr-xr-x 1 heimdall heimdall 565 2011-03-17 23:53
build/lib/lcc/include/limits.h
-rwxr-xr-x 1 heimdall heimdall 702 2011-03-17 23:53
build/lib/lcc/include/locale.h
-rwxr-xr-x 1 heimdall heimdall 774 2011-03-17 23:53
build/lib/lcc/include/math.h
-rwxr-xr-x 1 heimdall heimdall 135 2011-03-17 23:53
build/lib/lcc/include/setjmp.h
-rwxr-xr-x 1 heimdall heimdall 357 2011-03-17 23:53
build/lib/lcc/include/signal.h
-rwxr-xr-x 1 heimdall heimdall 1021 2011-03-17 23:53
build/lib/lcc/include/stdarg.h
-rwxr-xr-x 1 heimdall heimdall 797 2011-03-17 23:53
build/lib/lcc/include/stddef.h
-rwxr-xr-x 1 heimdall heimdall 2841 2011-03-17 23:53
build/lib/lcc/include/stdio.h
-rwxr-xr-x 1 heimdall heimdall 1964 2011-03-17 23:53
build/lib/lcc/include/stdlib.h
-rwxr-xr-x 1 heimdall heimdall 1147 2011-03-17 23:53
build/lib/lcc/include/string.h
-rwxr-xr-x 1 heimdall heimdall 1130 2011-03-17 23:53
build/lib/lcc/include/time.h
Installing man pages ...
-rw-rw-r-- 1 heimdall heimdall 1731 2011-03-17 23:53 build/man/man1/bprint.1
-rw-rw-r-- 1 heimdall heimdall 14508 2011-03-17 23:53 build/man/man1/lcc.1
Original comment by zemlia...@frtk.ru
on 28 Mar 2011 at 8:35
...
Original comment by zemlia...@frtk.ru
on 28 Mar 2011 at 8:45
У меня версия, скачанная с гуглокода.
Я проверю еще раз.
Original comment by diman...@gmail.com
on 28 Mar 2011 at 11:25
.
Original comment by diman...@gmail.com
on 13 Apr 2011 at 3:08
Original issue reported on code.google.com by
diman...@gmail.com
on 26 Mar 2011 at 10:12