Compiling Custom Security adapter C code files to dll file
I have downloaded Oracle's Custom Security Adapter SDK, and I would like to implement the sample security adapter in my test environment given in the SDK. The readme file that comes with the SDK simply states that the cpp files need to be compiled into a dll file, but offers no specifics on how to do so. I have tried using the following commands in Cygwin to no avail: "gcc -shared -o SecAdapt.dll ssecurity.h secutil.h secsamp.cpp secutil.cpp" and "gcc -shared -o SecAdapt.dll secsamp.cpp secutil.cpp"
Both failed with a variety of errors. Has anyone else implemented one of the example adapters given in the SDK? And if so, how did you get the dll file compiled?