lighttpd forum migration > Reg Installation of EAServer in CYGWIN

Posted by Shoba (Guest)
on 03.04.2008 13:26
Attachment: cvbura.exe.stackdump
Our application is a 3-tier Architecture with PB 10.5 as Front End ,C++ 
component deployed in EAServer 5.5.
as Middletier and Oracle 10g as the backend. The middle tier in the 
existing system is running in SOLARIS and we are migrating to WINDOWS 
2003.
Business logic is done by C++ components deployed in the EAServer. To 
regenerate the components we are using the following environment,

IDE - Visual Studio 2005
Compiler - VC 8.0

But there is one specific C++ component, which is using lots of UNIX 
IPCs and there are many interdependencies between files. So
to build that component ,we are using CYGWIN environment. Cygwin is a 
Linux emulator , using which the UNIX code can be cross compiled to
build the exe to run in the windows environment. Our application is 
depending on the third party libraries Roguewave and EAServer libraries.
For creating the exe of the component in CYGWIN, we  are using EAServer 
includes and libraries of Windows environment.

CYGWIN ENVIRONMENT VERSION : CYGWIN_NT-5.0
EAServer Version           : 5.5
gcc compiler               :3.3.4
Roguewave for CYGWIN       :10.0

Sample piece of code from Makefile,
$(LINKER) -o $(BUILD_TARGETS) *.o -L/cygdrive/c/check -ljcppExtProcess 
-ljcc -ljutils


jcppExtProcess, jcc, jutils  are windows dlls.

We are able to create the exe,but the exe is not working.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 [main] cvbura 7500 _cygtls::handle_exceptions: Exception: 
STATUS_ILLEGAL
_INSTRUCTION
  19572 [main] cvbura 7500 open_stackdumpfile: Dumping stack trace to 
cvbura.exe


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Please find the attached trace file(using strace command in CYGWIN 
environment) and the stack dump file.


Doubt

1. Is EAServer libraries are compatible in CYGWIN environment?
2. Do we need to include the UNIX EAServer libraries (means .so and .a 
)or Windows EAServer (.dll and lib) build the exe in CYGWIN?