Integrating Ralf's rebase into setup.exe

Ralf Habacker Ralf.Habacker@freenet.de
Thu Jan 2 09:32:00 GMT 2003


> Thats orthogonal (but IIRC is possible now/soon). The build within
> setup.exe will be a .a library, not a .dll. You could always use a
> compile flag to choose between cout error reporting and exceptions.
>
What about the following:

Step 1: library for standalone rebase

Every exported library function sets an error with SetLastError() and returns a
false condition, so a user could inspect this with GetLastError().
If the library must be debugged set SetImageHlpDebug(1) to enable debug message
printing.


Step 2:  library in setup.exe
add exception handling enabled by a -D option.


Step 1 is already in already supported.

Ralf




More information about the Cygwin-apps mailing list