-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
-
Compiling preForth and SeedForth on Fedora 40 (x86_64)
-
Installing devtools
sudo dnf install gcc make git
-
Installing "fasm" binary from homepage
-
Installing i686 libraries
sudo dnf install glibc-devel.i686 glibc-devel
-
Adjust Makefile
# assemble and link executable on linux
%.Linux: %.asm
fasm $< $@.o
LDEMULATION=elf_i386 ld -melf_i386 -o $@ \
-dynamic-linker /lib/ld-linux.so.2 \
/usr/lib/crt1.o /usr/lib/crti.o \
$@.o \
-lc /usr/lib/crtn.o
-
Build preForth and seedForth
make clean
make
./seed
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels