Skip to content
This repository was archived by the owner on May 4, 2022. It is now read-only.

Commit ba1f495

Browse files
authored
Merge pull request #146 from replit/af-update-gforth
Update gforth to 0.7.9
2 parents a9d854b + 7e2ae7b commit ba1f495

File tree

1 file changed

+32
-3
lines changed

1 file changed

+32
-3
lines changed

languages/forth.toml

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,41 @@
11
name = "forth"
22
entrypoint = "main.fth"
33
extensions = [
4-
"fth"
4+
"fth",
5+
"4th"
56
]
7+
68
packages = [
7-
"gforth"
9+
"libtool-bin",
10+
"libffi-dev",
11+
"automake",
12+
"m4",
13+
"gforth", "gforth-lib", "gforth-common"
14+
]
15+
16+
setup = [
17+
"pushd /tmp",
18+
"wget -O gforth-0.7.9.tar.xz http://www.complang.tuwien.ac.at/forth/gforth/Snapshots/0.7.9_20200716/gforth-0.7.9_20200716.tar.xz",
19+
"tar -Jxf gforth-0.7.9.tar.xz",
20+
"rm gforth-0.7.9.tar.xz",
21+
"mv gforth-0.7.9_* gforth-0.7.9",
22+
"cd gforth-0.7.9",
23+
24+
"cd unix",
25+
"[ -e stat-fsi.c ] || wget -O stat-fsi.c https://git.savannah.gnu.org/cgit/gforth.git/plain/unix/stat-fsi.c",
26+
"gcc stat-fsi.c -o stat-fsi",
27+
"./stat-fsi > stat.fs",
28+
"cd ..",
29+
30+
"./autogen.sh",
31+
"./configure",
32+
"make",
33+
"make more",
34+
"make install",
35+
"cd ..",
36+
"rm -rf /tmp/gforth-0.7.9",
37+
"popd"
838
]
9-
setup = [ ]
1039

1140
[run]
1241
command = [

0 commit comments

Comments
 (0)