HVML / PurC

The prime HVML interpreter for C Language.
GNU Lesser General Public License v3.0
1.06k stars 54 forks source link

add support for loongarch #10

Closed yetist closed 2 years ago

yetist commented 2 years ago

With this patch, purc can build and run on the LoongArch machine.

$ uname -m
loongarch64
$ file build/Source/Tools/purc/purc 
build/Source/Tools/purc/purc: ELF 64-bit LSB pie executable, LoongArch, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-loongarch-lp64d.so.1, BuildID[sha1]=dfb4b66ad76d680e33a2107244035cff2668a163, for GNU/Linux 5.15.0, with debug_info, not stripped
$ build/Source/Tools/purc/purc Source/Samples/hvml/hello.hvml 
Hello, world!
VincentWei commented 2 years ago

Thanks for your pull request! This is the first PR of this project.