mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 04:02:25 +00:00
parent
4a7dc4b549
commit
6a1eccd316
119 changed files with 30400 additions and 0 deletions
28
COMPILE
Normal file
28
COMPILE
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
currently three bootstrap static binaries provided, for x86_64, x86, and armv6j_hardfp (works on raspberry pi) gnu/linux targets.
|
||||
|
||||
0)
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue