Re: Solved: Re: gcc/ld problem
Charles, 2002-01-11 18:30:44, du schriebst: >> This question remains: >>>Do I need .def files? > No. > BTW, why are you building a libz dll? (Just for practice?) There is > already a cygz.dll provided by the libz package... No, I'm poking around with perl to get the cyg instead of the lib prefix, and tested to use gcc -shared instead of dllwrap. Well, then I'll skip the .def file anyway. Gerrit -- =^..^= -- 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/
Re: Solved: Re: gcc/ld problem
Gerrit P. Haase wrote: > This question remains: > > >>Do I need .def files? No. BTW, why are you building a libz dll? (Just for practice?) There is already a cygz.dll provided by the libz package... --Chuck -- 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/
Solved: Re: gcc/ld problem
Gerrit, 2002-01-11 14:51:38, du schriebst: Argh, after reading my own mail I saw the mistake: > gcc -shared -o Zlib.dll -Wl,--out-implib=libZlib.dll.a > -Wl,--output-def libZlib.def -Wl,--export-all-symbols ^ = is missing!!! [...] This question remains: > Do I need .def files? Gerrit -- =^..^= -- 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/