[M3commit] CVS Update: cm3

Jay Krell jkrell at birch.elego.de
Sat Dec 30 02:57:49 CET 2006


CVSROOT:	/usr/cvs
Changes by:	jkrell at birch.	06/12/30 02:57:49

Added files:
	cm3/scripts/win/lib/: advapi32.txt comctl32.txt comdlg32.txt 
	                      gdi32.txt glu32.txt kernel32.txt 
	                      make-lib-1.cmd make-lib-2.cmd make-lib.cmd 
	                      netapi32.txt odbc32.txt odbccp32.txt 
	                      opengl32.txt user32.txt winspool.txt 
	                      wsock32.txt 

Log message:
	new infrastructure for making Windows import .libs
	
	pass 1 (make-lib-1.cmd):
	
	Text files are generated from existing import .libs (including
	the output of this process) using a mix of cmd, Perl, and the
	Visual C++ compiler and linker (esp. link /dump).
	A few odd/useless functions are hard-coded-ly removed.
	A few functions missing in old .libs are hard-coded-ly added.
	A variety of versions of Visual C++ from 2.0 through 8.0 were tested,
	necessitating code changes as link /dump has changed significantly.
	(Link /dump is equivalent to dumpbin but saves a process,
	see link /help).
	Temp space is good in uniqueness and cleanup via Perl libs.
	Checkin text files.
	
	pass 2 (make-lib-2.cmd):
	
	Using just cmd, compiler/linker, produce C and .def files from pass 1
	and build .dlls (ignored) and their associated import .libs.
	Import .libs are copied to %INSTALLROOT%\lib.
	%INSTALLROOT% defaults to \cm3.
	Temp space is lame due to cmd -- uses the current working directory.




More information about the M3commit mailing list