The Win32 resource compiler/linker Beta 1


This utility enables you to compile resource scripts and to create/update
resource sections in PE files.
The following resource types are supported:
	ACCELERATORS
	BITMAP
	CURSOR
	DIALOG
	MENU
	ICON
	STRINGTABLE

If you have some questions about rcl please mail to:

	gunther.ebert@leipzig.ixos.de


The usage is:

	rcl -i <input file> -r <output file> | -pe <PE file>

	input file can be either a resource script file (for
 	compiling) or a binary resource file (for creating/updating
	the resource sections of a PE file)

	output file is a binary resource file (with option -r) or
	a PE file (with option -pe, the PE file has to exist before)

Examples:

	Compiling a resource script:
	rcl -i rctest.rc -r rctest.res

	Creating/Updating resource sections of a PE file:
	rcl -i rctest.res -pe dll.dll


Requirements:

	- for running rcl.exe you will need Windows NT 3.1 or higher and a
	  C preprocessor
	- for compiling resource scripts containing dialogs you will need 
	  Windows header files with at least definitions of window styles, 
	  control styles, dialog styles, language macros
	- for compiling rcl.exe and rctest.exe you will need gnu-win32 beta 8
	  (maybe it works also with other compilers like VC++ or BC++, but not tested),
 	  bison++ and flex++ (just take the source code from sunsite.unc.edu and 
	  compile it with gnu-win32 beta 8).

Known bugs:

	- filenames in ICON, BITMAP or CURSOR statements have to be quoted
	- rcl -i <.rc file> -pe <PE file> crashes rcl (you have to execute
	  rcl twice for compiling resources and updating PE sections)
	- not all Win32 resource types are supported yet
	- you cannot create/change resource sections in .exe files produced
	  by gnu-win32 (I think the problem is that these files do not have
	  a .reloc section, but I'm not sure)

Next:

	- add VERSION and RCDATA stuff
	- replace Win32 API functions for creating/changing resource sections
	  by portable ones
	- support of PPC, MIPS and ALPHA target platforms


Copying:
	
	Feel free to use and redistribute this package, there are no license
	fees

Warranty:

	The author provides no warranties in every form. This package is under
	construction so it may be that it does not work correctly in every case.


Files in this package:

	rcl.exe		the resource compiler/linker
	rctest.exe	a demo program (a modified version
			of the gnu-win32 GUI demo program)
	dll.dll		the gnu-win32 demo DLL with resources
	d.dll		original version of the gnu-win32 demo DLL
	rccparse.l	lexical definitions of the resource compiler
	rccparse.y	grammar definitions of the resource compiler
	*.c		source files of rcl.exe and rctest.exe
	*.h		header files
	rctest.rc	a sample resource script

