summaryrefslogtreecommitdiff
path: root/macho64
diff options
context:
space:
mode:
authorJohn van Groningen2011-12-05 14:25:17 +0000
committerJohn van Groningen2011-12-05 14:25:17 +0000
commitefd435dfa142f34d1fe2789fe0c494d74a7edf18 (patch)
tree2c0ea80d54964feb9b7e146e86a08aa65839ab18 /macho64
parentuse att_jae instead of jae to work around bug in the assembler (diff)
add make script for macho64
Diffstat (limited to 'macho64')
-rwxr-xr-xmacho64/make.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/macho64/make.sh b/macho64/make.sh
new file mode 100755
index 0000000..ad9c0db
--- /dev/null
+++ b/macho64/make.sh
@@ -0,0 +1,7 @@
+as startup.s -o startup.o
+as startupTrace.s -o startupTrace.o
+(cd ..; cc -c -O -DI486 -DMACH_O64 scon.c)
+(cd ..; cc -c -O -DUSE_CLIB -DLINUX -DI486 -DGNU_C -DMACH_O64 -o macho64/ufileIO2.o ./ufileIO2.c)
+as afileIO3.s -o afileIO3.o
+ld -r startup.o ../scon.o afileIO3.o ufileIO2.o -o _startup.o
+ld -r startupTrace.o ../scon.o afileIO3.o ufileIO2.o -o _startupTrace.o