www.delorie.com/archives/browse.cgi | search |
Message-Id: | <200006061701.NAA10936@delorie.com> |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
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 |
From: | "Parker, Ron" <rdparker AT butlermfg DOT com> |
To: | Carl Thompson <cet AT carlthompson DOT net> |
Cc: | Cygwin List <cygwin AT sourceware DOT cygnus DOT com> |
Subject: | RE: problems with latest Cygwin 1.1 |
Date: | Tue, 6 Jun 2000 11:57:20 -0500 |
MIME-Version: | 1.0 |
X-Mailer: | Internet Mail Service (5.5.2448.0) |
------_=_NextPart_000_01BFCFD8.B64194A0 Content-Type: text/plain; charset="windows-1252" > gcc -g cet3.cxx -o cet3 -mno-cygwin -lstdc++ > produces the attached copious error output. If you leave off the -lstdc++ it avoids linking against the libstd++.a which does require cygwin1.dll. It will pickup the <stream.h> implementation code from elsewhere, libmingw.a I believe. Sorry, I didn't pick up on this in my earlier mail. This just leaves one link error that I do not have time to resolve right now: /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../i686-pc-cygwin/lib/libmin gw32.a(main.o)(.text+0x8f):main.c: undefined reference to `WinMain AT 16' collect2: ld returned 1 exit status I searched the list, but the "-Wl,-u,WinMain AT 16" solution that was previously mentioned by Mumit Khan does not seem to work in this case. He is unavailable until mid-month and I am just trying to fill in where I can while I am waiting on computers at work. > Also, what happens if I want to use the math library in my app? When you compile with the -mno-cygwin switch it picks up the math routines automatically from crtldll.dll via -lcrtldll. ------_=_NextPart_000_01BFCFD8.B64194A0 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 ------_=_NextPart_000_01BFCFD8.B64194A0--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |