forked from factor/factor
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vm: Tweak Factor VM to compile with Microsoft Visual Studio on Window…
…s, in addition to Mingw. Add an Nmakefile which can be used for this purpose. Rename Makefile to GNUmakefile.
- Loading branch information
Slava Pestov
committed
Jan 16, 2010
1 parent
b34f660
commit edb1346
Showing
29 changed files
with
318 additions
and
217 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
LINK_CLFAGS = | ||
CL_FLAGS = /O2 /W3 | ||
|
||
OBJS = vm\main-windows-nt.obj \ | ||
vm\os-windows-nt.obj \ | ||
vm\os-windows.obj \ | ||
vm\aging_collector.obj \ | ||
vm\alien.obj \ | ||
vm\arrays.obj \ | ||
vm\bignum.obj \ | ||
vm\booleans.obj \ | ||
vm\byte_arrays.obj \ | ||
vm\callbacks.obj \ | ||
vm\callstack.obj \ | ||
vm\code_blocks.obj \ | ||
vm\code_heap.obj \ | ||
vm\compaction.obj \ | ||
vm\contexts.obj \ | ||
vm\data_heap.obj \ | ||
vm\data_heap_checker.obj \ | ||
vm\debug.obj \ | ||
vm\dispatch.obj \ | ||
vm\entry_points.obj \ | ||
vm\errors.obj \ | ||
vm\factor.obj \ | ||
vm\free_list.obj \ | ||
vm\full_collector.obj \ | ||
vm\gc.obj \ | ||
vm\image.obj \ | ||
vm\inline_cache.obj \ | ||
vm\instruction_operands.obj \ | ||
vm\io.obj \ | ||
vm\jit.obj \ | ||
vm\math.obj \ | ||
vm\nursery_collector.obj \ | ||
vm\object_start_map.obj \ | ||
vm\objects.obj \ | ||
vm\primitives.obj \ | ||
vm\profiler.obj \ | ||
vm\quotations.obj \ | ||
vm\run.obj \ | ||
vm\strings.obj \ | ||
vm\to_tenured_collector.obj \ | ||
vm\tuples.obj \ | ||
vm\utilities.obj \ | ||
vm\vm.obj \ | ||
vm\words.obj | ||
|
||
.cpp.obj: | ||
cl /nologo /EHsc $(CL_FLAGS) /Fo$@ /c $< | ||
|
||
all: factor.com factor.exe | ||
|
||
factor.com: $(OBJS) | ||
link $(LINK_FLAGS) /nologo /out:factor.com /SUBSYSTEM:console $(OBJS) | ||
|
||
factor.exe: $(OBJS) | ||
link $(LINK_FLAGS) /nologo /out:factor.exe /SUBSYSTEM:windows $(OBJS) | ||
|
||
clean: | ||
del vm\*.obj | ||
del factor.com | ||
del factor.exe | ||
|
||
.PHONY: clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ temp | |
logs | ||
.git | ||
.gitignore | ||
Makefile | ||
GNUmakefile | ||
Nmakefile | ||
unmaintained | ||
build-support |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.