This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
RE: Integrating Ralf's rebase into setup.exe
- From: "Ralf Habacker" <Ralf dot Habacker at freenet dot de>
- To: "Robert Collins" <rbcollins at cygwin dot com>
- Cc: "Charles Wilson" <cwilson at ece dot gatech dot edu>,<cygwin-apps at cygwin dot com>
- Date: Thu, 2 Jan 2003 10:31:51 +0100
- Subject: RE: Integrating Ralf's rebase into setup.exe
> 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