mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 00:32:24 +00:00
28 lines
1 KiB
Text
28 lines
1 KiB
Text
currently three bootstrap static binaries provided, for x86_64, x86, and armv6j_hardfp (works on raspberry pi) gnu/linux targets.
|
|
|
|
0) (* NOT NECESSARY ANYMORE *)
|
|
copy statically compiled voc compiler for your platform as vocstatic.
|
|
for instance, if your platform is armv6j_hardfp (like raspberry pi)
|
|
# cp vocstatic.linux.gnuc.armv6j_hardfp vocstatic
|
|
and if your platform is x86 (32bit) gnu/linux then
|
|
# cp vocstatic.linux.gnuc.x86 vocstatic
|
|
and if it's x86_64 then do nothing or
|
|
# cp vocstatic.linux.gnuc.x86_64 vocstatic
|
|
|
|
1) make with corresponding makefile
|
|
if it's rasp pi or other armhf platform then do
|
|
# make -f makefile.gnuc.armv6j_hardfp
|
|
if it's x86 then
|
|
# make -f makefile.gnuc.x86
|
|
and if it's x86_64, then default makefile is for this platform
|
|
# make
|
|
|
|
(theoretically you can also change TARCH in makefile and type make)
|
|
|
|
2) # sudo make install
|
|
|
|
this will install voc in /opt/voc-<version> and create /opt/voc symlink to it.
|
|
|
|
add /opt/voc/bin to your PATH and enjoy, compile, have fun!
|
|
|
|
-- noch
|