Re: problem with dll and stdout

2003-12-09 Thread Arash Partow
Hi, I think this is the unwritten rule of thumb for cygwin and incorporation of cygwin at compile time with other applications in win32 built with vendor products such as MS visual C++, Borland C++ builder, Borland Delphi etc... Rule: If you are using unix calls in your code you will not be able

Re: problem with dll and stdout

2003-12-09 Thread Brian Ford
On Tue, 9 Dec 2003, Jaroslaw Pawlak wrote: > Brian Ford wrote: > > On Tue, 9 Dec 2003, Jaroslaw Pawlak wrote: > > > Hello! the problem is i'm not using all gcc but only ld and ld does > > > not understands the -mno-cygwin switch. > > > > > It doesn't need to. > > > > If you are only using ld, then

Re: problem with dll and stdout

2003-12-09 Thread Jaroslaw Pawlak
> This is a confusing and contradictory jumble. I suggest you try again > with more detail. > > On Tue, 9 Dec 2003, Jaroslaw Pawlak wrote: > > > Hello! the problem is i'm not using all gcc but only ld and ld does not > > understands the -mno-cygwin switch. > > > It doesn't need to. > > If yo

Re: problem with dll and stdout

2003-12-09 Thread Jaroslaw Pawlak
> 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 t

Re: problem with dll and stdout

2003-12-09 Thread Brian Ford
This is a confusing and contradictory jumble. I suggest you try again with more detail. On Tue, 9 Dec 2003, Jaroslaw Pawlak wrote: > Hello! the problem is i'm not using all gcc but only ld and ld does not > understands the -mno-cygwin switch. > It doesn't need to. If you are only using ld, then

Re: problem with dll and stdout

2003-12-09 Thread Igor Pechtchanski
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 yo

Re: problem with dll and stdout

2003-12-09 Thread Igor Pechtchanski
On Tue, 9 Dec 2003, Jaroslaw Pawlak wrote: > On Tue, Dec 09, 2003 at 09:50:53AM -0500, Igor Pechtchanski wrote: > > On Tue, 9 Dec 2003, Jaroslaw Pawlak wrote: > > > > > hello, i have this problem, when i load dll written in cygwin to my > > > program(made in VC) all stdout is lost. I read on this

Re: problem with dll and stdout

2003-12-09 Thread Jaroslaw Pawlak
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() -- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/proble

Re: problem with dll and stdout

2003-12-09 Thread Jaroslaw Pawlak
On Tue, Dec 09, 2003 at 09:50:53AM -0500, Igor Pechtchanski wrote: > On Tue, 9 Dec 2003, Jaroslaw Pawlak wrote: > > > hello, i have this problem, when i load dll written in cygwin to my > > program(made in VC) all stdout is lost. I read on this list's archiwe that > > it happens, but i never saw a

Re: problem with dll and stdout

2003-12-09 Thread Igor Pechtchanski
On Tue, 9 Dec 2003, Jaroslaw Pawlak wrote: > hello, i have this problem, when i load dll written in cygwin to my > program(made in VC) all stdout is lost. I read on this list's archiwe that > it happens, but i never saw an solution. What to do to avoid loosing > stdout??? > thanks in advance. > Ja

problem with dll and stdout

2003-12-09 Thread Jaroslaw Pawlak
hello, i have this problem, when i load dll written in cygwin to my program(made in VC) all stdout is lost. I read on this list's archiwe that it happens, but i never saw an solution. What to do to avoid loosing stdout??? thanks in advance. Jarek -- Unsubscribe info: http://cygwin.com/m