Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <38AB0C4A.2B784E57@halden.net> Date: Wed, 16 Feb 2000 21:44:59 +0100 From: Andreas =?iso-8859-1?Q?Bergstr=F8m?= Organization: Stop SPAM - Now! X-Mailer: Mozilla 4.7 [en] (Win95; U) X-Accept-Language: no,en,da,sv,de,is MIME-Version: 1.0 To: Cygwin mailing list Subject: Re: Windows executables and C++ References: <4 DOT 2 DOT 0 DOT 58 DOT 20000216153128 DOT 00c19450 AT pop DOT ma DOT ultranet DOT com> Content-Type: multipart/mixed; boundary="------------3C09BBF788B0903F512A2645" Note-from-DJ: This may be spam --------------3C09BBF788B0903F512A2645 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit "Larry Hall (RFK Partners, Inc)" wrote: > What exactly are you trying to do? I am trying to compile a simple C++ program that runs at least looking like a Windows application, perhaps something like a QuickWin application in VC++. > What are the problems specifically? I can compile without problems, but when I run the program from a DOS box, the full path to the program is shown in the top bar for a few seconds (i am compiling on a 486), and it then resumes as if the program had run, but nothing has happened. > What are you building? g++ -mwindows -e _mainCRTStartup sekundomregner.cpp -o sekund.exe I tried modifying the makefile that came with RUN too, to make it use G++ and the sekundomregner.cpp instead of gcc and run.c, just to check, but with the same result. > Its hard to offer any advice when the most specific information one can > gather from your query is "I did something and it doesn't work." I know, it was a bit vague, but I am pretty new to this and I was not completely sure what information you wanted. I hope this will help you to help me. Thanks in advance. May you live long and spamless, Andreas Bergstrøm -- HTTP://www.spambuster.dhs.org/ Fight Spam! Join EuroCAUCE! == http://www.euro.cauce.org/ Y2K bug? free software at: http://bcordero.home.sprynet.com/y2kwa.htm 666[-/(-1)] - Imaginary number of the Beast --------------3C09BBF788B0903F512A2645 Content-Type: application/x-unknown-content-type-cppfile; name="sekundomregner.cpp" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="sekundomregner.cpp" Ly8gc2VrdW5kb21yZWduZXIuY3BwCgojaW5jbHVkZSA8aW9zdHJlYW0uaD4KCmludCBtYWlu KCkKewoJCglpbnQgQW50YWxsc2VrLCBBbnRhbGxtaW47CglpbnQgVGltLCBNaW4sIFNlazsK CWludCBEYWc7CglpbnQgVGltRGFnOwoJaW50IFVrZXI7CglpbnQgVWtEYWc7CglpbnQgTWFu ZWQ7CglpbnQgTWFuZWRVa2U7CglpbnQgQXI7CglpbnQgQXJNYW5lZDsJCgoJY291dCA8PCAi XG5UYXN0IGlubiBldCBhbnRhbGwgc2VrdW5kZXI6ICI7CgljaW4gPj4gQW50YWxsc2VrOwoJ CglBbnRhbGxtaW4gPSBBbnRhbGxzZWsvNjA7CglTZWsgPSBBbnRhbGxzZWslNjA7CglNaW4g PSBBbnRhbGxtaW4lNjA7CglUaW0gPSBBbnRhbGxtaW4vNjA7CglEYWcgPSBUaW0vMjQ7CglU aW1EYWcgPSBUaW0lMjQ7CglVa2VyID0gRGFnLzc7CglVa0RhZyA9IERhZyU3OwoJTWFuZWQg PSBVa2VyLzQ7CglNYW5lZFVrZSA9IFVrZXIlNDsKCUFyID0gTWFuZWQvMTI7CglBck1hbmVk ID0gTWFuZWQlMTI7CgoJCgljb3V0IDw8ICJcblxuRHUgdGFzdGV0ICIgPDwgQW50YWxsc2Vr IDw8ICIgc2VrdW5kZXIuIjsKCWNvdXQgPDwgIlxuRGV0IGJsaXIgIiA8PCBBbnRhbGxtaW4g PDwgIiBtaW51dHRlciBvZyAiIDw8IFNlayA8PCAiIHNla3VuZGVyOyI7Cgljb3V0IDw8ICJc bmVsbGVyICIgPDwgVGltIDw8ICIgdGltZXIsICIgPDwgTWluIDw8ICIgbWludXR0ZXIgb2cg IiA8PCBTZWsgPDwgIiBzZWt1bmRlcjsiOwoJY291dCA8PCAiXG5lbGxlciAiIDw8IERhZyA8 PCAiIGRhZ2VyLCAiIDw8IFRpbURhZyA8PCAiIHRpbWVyLCAiIDw8IE1pbiA8PCAiIG1pbnV0 dGVyIG9nICIgPDwgU2VrIDw8ICIgc2VrdW5kZXI7IjsKCWNvdXQgPDwgIlxuZWxsZXIgIiA8 PCBVa2VyIDw8ICIgdWtlciwgIiA8PCBVa0RhZyA8PCAiIGRhZ2VyLCAiIDw8IFRpbURhZyA8 PCAiIHRpbWVyLCAiIDw8IE1pbiA8PCAiIG1pbnV0dGVyIG9nICIgPDwgU2VrIDw8ICIgc2Vr dW5kZXI7IjsKCWNvdXQgPDwgIlxuZWxsZXIgIiA8PCBNYW5lZCA8PCAiIG1hbmVkZXIsICIg PDwgTWFuZWRVa2UgPDwgIiB1a2VyLCAiIDw8IFVrRGFnIDw8ICIgZGFnZXIsICIgPDwgVGlt RGFnIDw8ICIgdGltZXIsICIgPDwgTWluIDw8ICIgbWludXR0ZXIgb2cgIiA8PCBTZWsgPDwg IiBzZWt1bmRlcjsiOwoJY291dCA8PCAiXG5lbGxlciAiIDw8IEFyIDw8ICIgYWFyLCAiIDw8 IEFyTWFuZWQgPDwgIiBtYW5lZGVyLCAiIDw8IE1hbmVkVWtlIDw8ICIgdWtlciwgIiA8PCBV a0RhZyA8PCAiIGRhZ2VyLCAiIDw8IFRpbURhZyA8PCAiIHRpbWVyLCAiIDw8IE1pbiA8PCAi IG1pbnV0dGVyIG9nICIgPDwgU2VrIDw8ICIgc2VrdW5kZXI7IjsKCQp9Cg== --------------3C09BBF788B0903F512A2645 Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com --------------3C09BBF788B0903F512A2645--