Skip to content

Commit 53cd8d2

Browse files
committed
Compile x86_32 via cross compiler
Signed-off-by: Kakadu <[email protected]>
1 parent 51ba78c commit 53cd8d2

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

Lama.opam

+3-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,6 @@ build: [
2828
"@doc" {with-doc}
2929
]
3030
]
31-
depexts: [ [ "gcc-14-multilib" ] {os-distribution = "ubuntu"} ]
31+
depexts: [ [ "gcc-i686-linux-gnu" ] {os-distribution = "ubuntu"}
32+
]
33+

Lama.opam.template

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
depexts: [ [ "gcc-14-multilib" ] {os-distribution = "ubuntu"} ]
1+
depexts: [ [ "gcc-i686-linux-gnu" ] {os-distribution = "ubuntu"}
2+
]

runtime32/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
RUNTIME=runtime.a
22

33
.DEFAULT := $(RUNTIME)
4+
CC := i686-linux-gnu-gcc
45

56
$(RUNTIME): gc_runtime.o runtime.o
67
ar rc $@ gc_runtime.o runtime.o

0 commit comments

Comments
 (0)