[teklib-general] teklib: MingW under Linux cross build target option added in top...

Timm S. Mueller tmueller at neoscientists.org
Fri Jan 2 18:56:18 CET 2009


details:   http://hg.teklib.org/teklib/rev/913035a46e12
changeset: 212:913035a46e12
user:      Timm S. Mueller <tmueller at neoscientists.org>
date:      Tue Dec 30 21:49:19 2008 +0100
description:
MingW under Linux cross build target option added in top-level Makefile

diffs (14 lines):

diff -r dc69b1930852 -r 913035a46e12 Makefile
--- a/Makefile	Sat Dec 27 22:29:59 2008 +0100
+++ b/Makefile	Tue Dec 30 21:49:19 2008 +0100
@@ -88,7 +88,10 @@
 
 $(TEKLIB)/bin/winnt/tmkmf:
 	- at mkdir -p $(TEKLIB)/bin/winnt
+	# MinGW on Windows (native):
 	$(CC) -I$(TEKLIB) -I$(TEKLIB)/src/hal $(TEKLIB)/build/tmkmf.c -mno-cygwin -lm -lwinmm -o $@
+	# MinGW on Linux cross (see also CCPREFIX in build/config/winnt_winnt.tmk):
+	#$(CC) -I$(TEKLIB) -I$(TEKLIB)/src/hal $(TEKLIB)/build/tmkmf.c -pthread -ldl -lm -o $@
 
 # Playstation2 is cross-built on Linux:
 $(TEKLIB)/bin/ps2/tmkmf:


More information about the teklib-general mailing list