From: <Ber...@tt...> - 2003-10-09 09:30:35
|
the problem was that the -L and -l flags were after the .o files... On 09.10.2003 11:10:54 mingw-users-admin wrote: >Hi, > >I want to create a dll that has dependencies to >other dlls. Compilation works fine, but when >linking I get lots of undefined references to >functions that are defined in the other dlls. >I did create import libraries for the other dlls >which do work for simple programs (no dlls). >If I omit the linker directives (-L and -l) this >makes no difference in the number of undefined >references, so they seems to be completely >ignoered. What could be the reason for that? > >an example command line how to create such a >dll would be nice, or a pointer to more info. > >thanks, >Bernhard > |