mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 08:42:24 +00:00
Some support in makefile for 32 bit model.
This commit is contained in:
parent
b158671cf8
commit
b40dc4e2f8
27 changed files with 141 additions and 116 deletions
|
|
@ -379,6 +379,7 @@ void writeMakeParameters() {
|
|||
fprintf(fd, "ONAME=%s\n", oname);
|
||||
fprintf(fd, "DATAMODEL=%s\n", dataModel);
|
||||
fprintf(fd, "INTSIZE=%d\n", intsize);
|
||||
fprintf(fd, "MODEL=-O%c\n", intsize == 2 ? '2' : 'V');
|
||||
fprintf(fd, "ADRSIZE=%d\n", addressSize);
|
||||
fprintf(fd, "ALIGNMENT=%d\n", alignment);
|
||||
fprintf(fd, "INSTALLDIR=%s\n", installdir);
|
||||
|
|
|
|||
|
|
@ -97,6 +97,7 @@ translate:
|
|||
@printf "\nmake translate - translating compiler source from Oberon to C:\n"
|
||||
@printf " PLATFORM: %s\n" $(PLATFORM)
|
||||
@printf " INTSIZE: %s\n" $(INTSIZE)
|
||||
@printf " MODEL: %s\n" $(MODEL)
|
||||
@printf " ADRSIZE: %s\n" $(ADRSIZE)
|
||||
@printf " ALIGNMENT: %s\n" $(ALIGNMENT)
|
||||
@mkdir -p $(BUILDDIR)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue