delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/04/10/05:27:48

From: SAlfors AT newberry DOT edu (Stephen Alfors)
Subject: help with Hellowin.c problems
10 Apr 1998 05:27:48 -0700 :
Message-ID: <3.0.1.32.19980408184736.007a0790.cygnus.gnu-win32@mail.newberry.edu>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

i'm having a problem compiling a windows program,
i've looked through the mailing list and found a couple messages that had
some suggetions, and i tried those, but they did't work...
i'm trying to compile a program from "Programming Windows 95" (the hellowin
example program)
i ran gcc [C:\gnuwin32>gcc -o hellowin.exe hellowin.c -Wl,--subsystem,windows]

 and got this:
/GNUWIN32/B19/H-I386~1/i386-cygwin32/bin/ld.exe: warning: cannot find entry
symbol _WinMainCRTStartup; defaulting to 00401000
C:\TMP\cc0010001.o(.text+0x4b):hellowin.c: undefined reference to
`LoadIconA AT 8'
- a long list of other functions included in the user32 library-

i would appreciate any assistance
Stephen
------------------------
salfors AT newberry DOT edu
                ______________
             -)[___________=='
  _____====///_    _\\________
<____________>   ^======``
         ````
[Yes, that's an upside-down Enterprise, ok]
Stephen Alfors
<salfors AT newberry DOT edu>
Newberry College

-
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