mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 19:12:25 +00:00
simpler way of removing 'static' for tcc in configure.c, reverted oberon.mk back, according to this comment: a35668bf93 (r35448231) update of bootstrap sources.
This commit is contained in:
parent
9626a95daa
commit
7b9b5cb4f1
187 changed files with 196 additions and 204 deletions
|
|
@ -140,6 +140,7 @@ void determineCCompiler() {
|
|||
#elif defined(__TINYC__)
|
||||
compiler = "tcc";
|
||||
cc = "tcc -g";
|
||||
staticlink = "";
|
||||
#elif defined(__GNUC__)
|
||||
compiler = "gcc";
|
||||
if (strncasecmp(os, "cygwin", 6) == 0) {
|
||||
|
|
|
|||
|
|
@ -65,21 +65,12 @@ assemble:
|
|||
cd $(BUILDDIR) && $(COMPILE) -c OPM.c extTools.c OPS.c OPT.c
|
||||
cd $(BUILDDIR) && $(COMPILE) -c OPC.c OPV.c OPB.c OPP.c
|
||||
|
||||
ifeq ($(COMPILER),tcc)
|
||||
cd $(BUILDDIR) && $(COMPILE) Compiler.c -o $(ROOTDIR)/$(OBECOMP) \
|
||||
SYSTEM.o Configuration.o Platform.o Heap.o Out.o \
|
||||
Strings.o Modules.o Files.o Reals.o Texts.o \
|
||||
VT100.o extTools.o \
|
||||
OPM.o OPS.o OPT.o OPC.o OPV.o OPB.o OPP.o
|
||||
else
|
||||
cd $(BUILDDIR) && $(COMPILE) $(STATICLINK) Compiler.c -o $(ROOTDIR)/$(OBECOMP) \
|
||||
SYSTEM.o Configuration.o Platform.o Heap.o Out.o \
|
||||
Strings.o Modules.o Files.o Reals.o Texts.o \
|
||||
VT100.o extTools.o \
|
||||
OPM.o OPS.o OPT.o OPC.o OPV.o OPB.o OPP.o
|
||||
|
||||
endif
|
||||
|
||||
cp src/runtime/*.[ch] $(BUILDDIR)
|
||||
cp src/runtime/*.Txt $(BUILDDIR)
|
||||
cp src/runtime/*.Txt $(ROOTDIR)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue