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: gdb4.18 make stops at link


On Tue, Nov 02, 1999 at 10:11:25AM -0600, Mumit Khan wrote:
>> Add -ladvapi32 to the list of libraries when linking gdb. See the
>> gdb/configure.in, search for ladvapi32 and see how it's done for a=20
>> Cygwin host. For now, just edit gdb/Makefile, add -ladvapi32 to
>> the WIN32LIBS variable and rerun make.
>> 
>> I tried adding the -ladvapi32 to the list of libraries, and still get =
>> the error ????
>> 
>
>[ Plea: Please, please leave out the HTML crud from your messages. ]
>
>I seem to have misspoken ... these functions are in user32, and that's
>*always* linked in.

It wasn't always linked in.  It used to only be linked in when you
specified -mwindows.

Possibly this is just a sign of somebody using an older compiler.
Adding -luser32 should solve this problem, regardless.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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