| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
| Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
| Message-ID: | <37827D1B.A4360E0E@visi.net> |
| Date: | Tue, 06 Jul 1999 18:03:07 -0400 |
| From: | John Garrison <jeg AT visi DOT net> |
| X-Mailer: | Mozilla 4.51 [en] (X11; I; Linux 2.2.5-15 i586) |
| X-Accept-Language: | en |
| MIME-Version: | 1.0 |
| To: | Mumit Khan <khan AT xraylith DOT wisc DOT EDU> |
| CC: | DJ Delorie <dj AT delorie DOT com>, cygwin AT sourceware DOT cygnus DOT com |
| Subject: | Re: Libraries not working |
| References: | <199907062150 DOT QAA00367 AT mercury DOT xraylith DOT wisc DOT edu> |
Mumit Khan wrote:
> DJ Delorie <dj AT delorie DOT com> writes:
> >
> > > [bin]# ./i586-mingw32-nm /usr/win32/lib/libIMG.a | grep IMG_Load_RW
> > > ./i586-mingw32-nm: IMG.c: File format not recognized
> >
> > One thing to note - you should put *.o in the archives, not *.c
>
> Duh, thanks. My brain automatically translated that to .o when I saw
> the .c. That obviously changes everything.
>
> Regards,
> Mumit
Yeah, i feel dumb now :) I had just copy and pasted the c filenames
directory listing into the Makefile. I changed what I thought to be all of
them over to .o. .c looks alot like .o with the wrong font. Especially
since like Mumit says your brain just automatically translates it to what
it is supposed to be.
Now if I could just find out how to make WinMain be declared without
breaking compatibility with other platforms. Can I just do somthing like
the following?
WinMain(void)
{
main();
}
I know nothing about windows programming so if this is a stupid question I
apologize.
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |