From: earnie_boyd AT hotmail DOT com (Earnie Boyd) Subject: Re: Library Link Problem 24 Feb 1998 22:19:03 -0800 Message-ID: <19980224162328.5789.qmail.cygnus.gnu-win32@hotmail.com> Content-Type: text/plain To: alain DOT culos AT bigfoot DOT com Cc: gnu-win32 AT cygnus DOT com add -mwindows to the gcc command line. >Date: Sun, 22 Feb 1998 17:24:39 +0000 >From: Alain CULOS >To: cygwin >Subject: Library Link Problem > >Hi all, > >I'm very new to gcc and new to using unix like tools on windows, I use th= >e cygnus distribution of gcc 2.7.2 b18 for Win95b on a PPro 200. >I know, I should upgrade to 2.8.0 or egcs, (just read the FAQ), still I t= >hink I will have the same problem >since it looks like a bad use on my side. > >I have seemingly installed everything correctly, paths and all configured= > as should be (I hope). >I use the whole lot under Bash (for windows). > >When I'm trying to compile some gui application, make (the final step usi= >ng the embedded linker) outputs lots of "undefined reference"s. >I guessed this can only be caused by a missing library at link time, but = >I specified all of the 70ish libraries in the command line with no result. >I did not check all the undefined references but they all seem to come fr= >om windows32/Functions.h, itself included in windows.h standard include f= >ile. Among the undefined references are : LoadIcon, LoadCursor, RegisterC= >lass, GetStockObject, CreatePen, CreateMenu, ShowWindow, .... > >Which library should this be linked to ? Or what could be wrong with my s= >et-up ? > >Any and every bit of help will be greatly appreciated, even a simple poin= >ter to the appropriate doc, I have read lots of docs and a few FAQs to no= > avail so far. >MTIA, >Al. > >=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= >-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D >=3D-=3D-=3D-=3D-=3D ANTI SPAM / ANTI ARROSAGE COMMERCIAL : >Pour me r=E9pondre, veuillez enlever les deux moins de mon adresse. >To answer me, please take out both minus signs from my address. > > >- >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". > - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd AT hotmail DOT com- ------ooo0O--O0ooo------- Check out these great gnu-win32 related sites: ftp://ftp.cygnus.com/pub/gnu-win32/latest/ (ftp site) http://www.cygnus.com/pubs/gnupro/ (Comercial Page) http://www.cygnus.com/misc/gnu-win32/ (Project Page) http://www.cygnus.com/ml/gnu-win32 (Mail Archives) http://www.itribe.net/virtunix/winhelp-man-pages/ (HTML Man Pages) http://www.lexa.ru/sos (Sergey Okhapkin) ftp://www.lexa.ru/pub/domestic/sos/ (Sergey's ftp site) http://www.fu.is.saga-u.ac.jp/~colin/gcc.html (Colin Peters) http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ (Mumit Khan) http://gnu-win32.paranoia.ru (Chuck Bogorad's ports) ftp://ftp.deninc.com/pub (Den Internet Services - US mirror and ports) http://www.bestweb.net/~aka/gnu-win32/ (GNU-Win32 Bash Configuration) http://rcw.home.ml.org/ (Rob Warner - software ports) http://www.wenet.net/~garbanzo/gnuwin32/ (more - software portals) http://www.wenet.net/~garbanzo/gnuwin32/rpm (Redhat Package Manager) SEARCH ENGINES WITH gnu-win32 mail archive RELATED INDICIES: http://www.findmail.com http://www.search.com add gnu-win32 or gnuwin32 to the search criteria. ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - 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".