Using the Windows precompiler on Cygwin with GCC is even easier than I first
thought since GCC can auto import directly from a DLL at link time. So all
you need to do to compile/link is:-

cpc -H nocheck -c target
gcc -g -O2 -Wall -Iusr/local/sapdb/depend/incl -mms-bitfields target.c -o
target.exe -L. -lpcr libsqlcad.lib

This should work ok assuming libpcr.dll and libsqlcad.lib are in the current
directory. Change the -L option if not.

So if the Wiki page at http://sapdb.2scale.net/moin.cgi/PrecompilerOnWindows
is updated with the above details, all the create DLL import section can
be removed. Still no success getting it to link against libpcrl.lib
unfortunately :-(

David

_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to