Wed Apr 8 06:20:00 GMT 1998
I am trying to build gdb on WIndowsNT using cygwin32.
The stock gdb builds fine.
In my company we have modified stock gdb to include cpu's
Some features are provided through our library (libmc.a).
I applied all our code changes to gdb code.
I can compile fine, however when I link against our private library
I get following undefined references (some examples below)..
):i490.c: undefined reference to `_imp__printf'
):i490.c: undefined reference to `_imp___close'
Any suggestions on how to compile my libmc.a so that these symbols
can be found in
cygnus library ?
NOTE: libmc.a was compiled using vc++ compiler (cl), due to customer
we have to use vc++ compiler for libmc.a...
Thank you in advance...
I tried compiling with -D_CRTIMP after looking at the following
header without much success.
/* Define _CRTIMP */
/* definition compatible with NT SDK */
#else /* ndef _NTSDK */
/* current definition */
#define _CRTIMP __declspec(dllimport)
#else /* ndef _DLL */
#endif /* _DLL */
#endif /* _NTSDK */
#endif /* _CRTIMP */
For help on using this list (especially unsubscribing), send a message to
"email@example.com" with one line of text: "help".
More information about the Cygwin