mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2026-06-13 04:29:29 +00:00
Implement ELF support
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
int add(int a, int b)
|
||||
{
|
||||
return a + b;
|
||||
}
|
||||
|
||||
extern "C" int _start()
|
||||
{
|
||||
return add(1, 2);
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,3 @@
|
||||
@echo off
|
||||
|
||||
clang -target powerpc-unknown-linux-gnu -fuse-ld=lld -nostdlib -m32 -o %1.elf %1
|
||||
Reference in New Issue
Block a user