This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: EGCS-Mingw32 Win32


On Tue, 1 Sep 1998, Paul Garceau wrote:

> Greetings,
> 
> 	Just a quick question -- and may be a dumb one...
> 
> 	Under EGCS-Mingw32, why is it necessary to add a -l reference for 
> User32 for a command such as:
> 
> 	gcc test.c -o test.exe
> 
>        in order to generate a successful link?

Paul,

Only if you refer to symbols defined in user32, otherwise no need. Since I
don't know what's in test.c, I can't really provide an informative answer.

Can you send me the following:
  
  1. testcase source file
  2. output of the build:
     
     % gcc -v test.c -o test.exe

Thanks.
Mumit


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]