diff options
author | John van Groningen | 2011-12-05 14:25:17 +0000 |
---|---|---|
committer | John van Groningen | 2011-12-05 14:25:17 +0000 |
commit | efd435dfa142f34d1fe2789fe0c494d74a7edf18 (patch) | |
tree | 2c0ea80d54964feb9b7e146e86a08aa65839ab18 /macho64 | |
parent | use att_jae instead of jae to work around bug in the assembler (diff) |
add make script for macho64
Diffstat (limited to 'macho64')
-rwxr-xr-x | macho64/make.sh | 7 |
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 |