This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems exporting my DLL functions...


> gcc -o khook.o -c khook.o
> gcc -shared -o mydll.dll khook.o

Cool, it works, thanx :D

...at least it creates a DLL, but finally two things:

1. How do I tell the compiler/linker what is my DLL-init-function
2. How do I tell the compiler/linker which functions I want to export (I
marked them with EXPORT in the file already, but they didn't seem to be
available in the created DLL)

Thanx, Klaus.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]