Skip to content

Commit

Permalink
Compile x86_32 via cross compiler
Browse files Browse the repository at this point in the history
Signed-off-by: Kakadu <[email protected]>
  • Loading branch information
Kakadu committed Feb 28, 2025
1 parent 8a9132e commit f056b25
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Lama.opam
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,6 @@ build: [
"@doc" {with-doc}
]
]
depexts: [ [ "gcc-14-multilib" ] {os-distribution = "ubuntu"} ]
depexts: [ [ "gcc-i686-linux-gnu" ] {os-distribution = "ubuntu"}
]

3 changes: 2 additions & 1 deletion Lama.opam.template
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
depexts: [ [ "gcc-14-multilib" ] {os-distribution = "ubuntu"} ]
depexts: [ [ "gcc-i686-linux-gnu" ] {os-distribution = "ubuntu"}
]
1 change: 1 addition & 0 deletions runtime32/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
RUNTIME=runtime.a

.DEFAULT := $(RUNTIME)
CC := i686-linux-gnu-gcc

$(RUNTIME): gc_runtime.o runtime.o
ar rc $@ gc_runtime.o runtime.o
Expand Down

0 comments on commit f056b25

Please sign in to comment.