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: problem with dll and stdout


On Tue, 9 Dec 2003, Jaroslaw Pawlak wrote:

> I changed my command from ld to gcc -Wl...(all my ld switches)
> -mno-cygwin..
> The problem still exists. I have no output. Is there any workaround if not
> counting freopen() ????

What's the output of "cygcheck yourapp.exe"?  You have to recompile your
*DLL* (including all the object files in that DLL) with -mno-cygwin so it
doesn't depend on cygwin1.dll.
	Igor
P.S. If "cygcheck yourapp.exe" doesn't show a dependence on cygwin1.dll,
this becomes a MinGW problem, and should be addressed to the MinGW users
list (<mingw-users@lists.sf.net>).
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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]