delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/08/31/18:56:14

From: Keetnet AT wilmington DOT net (Keet / Foxbird)
Subject: Date / Time Stuff..
31 Aug 1997 18:56:14 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <3.0.32.19970828205419.007a5e10.cygnus.gnu-win32@wilmington.net>
Mime-Version: 1.0
X-Sender: keetnet AT wilmington DOT net
X-Mailer: Windows Eudora Pro Version 3.0 (32)
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

I tried compiling some 'out-of-the-box' examples from a learn C++ guide and
I get a really nice error that looks like this:

C:\WINDOWS\Desktop\fb5.56\test\c++tutor\source>c++ -g -O -o date date.cpp
C:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\cygnus-2.7.2-97040
4\..
/../../../i386-cygwin32\lib/libcygwin.a(libcmain.o)(.text+0x1e):libcmain.cc:
 und
efined reference to `WinMain AT 16'
C__~1.EXE: Internal compiler error: program ld got fatal signal 1

Am I missing a library, an environment setting or something along those
lines? I've compiled other date stuff before, but this is the first one
that doesn't work. If you need the source, just ask, I've got it available.

- Greg Neujahr


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019