New installation mechanism

This commit is contained in:
ceriel 1991-09-02 15:08:48 +00:00
parent 6960652579
commit 954d74eff8
14 changed files with 65 additions and 27 deletions

View file

@ -2,11 +2,8 @@ Action
as
ce
cv
libbc
libcc
libend
libem
libfp
libm2
liboc
libpc
libsys
ncg

View file

@ -7,27 +7,15 @@ end
name "Intel 80386 Xenix System V conversion program"
dir cv
end
name "Intel 80386 C libraries"
dir libcc
end
name "Intel 80386 EM library"
dir libem
end
name "Intel 80386 Pascal library"
dir libpc
end
name "Intel 80386 Basic library"
dir libbc
end
name "Intel 80836 Occam library"
dir liboc
name "Intel 80386 etext,edata,end library"
dir libend
end
name "Intel 80836 floating point library"
dir libfp
end
name "Intel 80836 Modula-2 library"
dir libm2
end
name "Intel 80836 Xenix systemcall library"
dir libsys
end

View file

@ -1,5 +1,2 @@
LIST
Makefile
compmodule
end.s
libem_s.a

View file

@ -39,7 +39,7 @@ printc:
push eax
push ebx
push eax
call _write
call __write
pop ebx
pop ebx
pop ebx

View file

@ -2,4 +2,4 @@
.sect .text
.define .stop
.stop:
jmp _exit
jmp __exit

View file

@ -13,7 +13,7 @@
and eax,~0777
push ebx
push eax
call _brk
call __brk
pop ecx
pop ebx
cmp eax,-1

2
mach/i386/libend/.distr Normal file
View file

@ -0,0 +1,2 @@
LIST
end_s.a

5
mach/i386/libend/LIST Normal file
View file

@ -0,0 +1,5 @@
end_s.a
edata.s
em_end.s
end.s
etext.s

9
mach/i386/libend/edata.s Normal file
View file

@ -0,0 +1,9 @@
.sect .text
.sect .rom
.sect .data
.sect .bss
.define _edata
.sect .data
.align 4
.sect .data
_edata:

22
mach/i386/libend/em_end.s Normal file
View file

@ -0,0 +1,22 @@
.sect .text
.sect .rom
.sect .data
.sect .bss
.define endtext,enddata,endbss,__end
.sect .text
.align 4
.sect .rom
.align 4
.sect .data
.align 4
.sect .bss
.align 4
.sect .end ! only for declaration of _end, __end and endbss.
.sect .text
endtext:
.sect .data
enddata:
.sect .end
__end:
endbss:

7
mach/i386/libend/end.s Normal file
View file

@ -0,0 +1,7 @@
.sect .text
.sect .rom
.sect .data
.sect .bss
.define _end
.sect .end ! only for declaration of _end, __end and endbss.
_end:

9
mach/i386/libend/etext.s Normal file
View file

@ -0,0 +1,9 @@
.sect .text
.sect .rom
.sect .data
.sect .bss
.define _etext
.sect .text
.align 4
.sect .text
_etext:

View file

@ -1,5 +1,3 @@
LIST
Makefile
compmodule
head_em.s
libmon_s.a

4
mach/i386/mach_params Normal file
View file

@ -0,0 +1,4 @@
MACH=i386
SUF=o
ASAR=aal
RANLIB=: