delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, |
<http://sourceware.cygnus.com/ml/#faqs> | |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <19990826122436.26112.rocketmail@web110.yahoomail.com> |
Date: | Thu, 26 Aug 1999 05:24:36 -0700 (PDT) |
From: | Earnie Boyd <earnie_boyd AT yahoo DOT com> |
Reply-To: | earnie_boyd AT yahoo DOT com |
Subject: | Re: Failed to build tcl8.1 |
To: | Thomas Kowatsch <Thomas DOT Kowatsch AT stest DOT ch>, |
Cygwin List <cygwin AT sourceware DOT cygnus DOT com> | |
MIME-Version: | 1.0 |
--- Thomas Kowatsch <Thomas DOT Kowatsch AT stest DOT ch> wrote: -8<- > Ok this was obviously the wrong approach linking with -ltcl81 and stub > lib together and was the reason for the core to happen. I now can run > it ok. > > But a another little problem occured. There is no console input after > I started wish81.exe. When I start the cygwish80.exe coming with > b20.1 a console window pops up. I examined code again and found the > problem to be in tk8.1/win/winMain.c. There are two entry points in > there, one is main() and the other is WinMain(). If main() is called > (what is obviously done by cygwin) then before Tk_Main() is called > a variable consoleRequired is set to FALSE. If I start wish81.exe in > gdb and set this variable to TRUE before call to Tk_Main() a > console window pops up. In WinMain() the consoleRequired is TRUE > before call to Tk_Main(). My question is now, what to do: > > 1.) change code in main() for cygwin to set consoleRequired to TRUE > 2.) Find a possibility to get WinMain be called (Any advise) > > Can anybody help me on this? If you add the -mwindows switch to the link step the WinMain function would be called upon startup instead of the main function. === Earnie Boyd <mailto:earnie_boyd AT yahoo DOT com> Newbies, please visit <http://www.freeyellow.com/members5/gw32/index.html> (If you respond to the list, then please don't cc me) __________________________________________________ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |