From: Carl Thompson <cet@carlthompson.net>
To: "Parker, Ron" <rdparker@butlermfg.com>
Cc: Cygwin List <cygwin@sourceware.cygnus.com>
Subject: Re: problems with latest Cygwin 1.1
Date: Tue, 06 Jun 2000 11:48:00 -0000 [thread overview]
Message-ID: <393D48A9.E0390C6A@carlthompson.net> (raw)
In-Reply-To: <20000606170446.97480803A@carlthompson.net>
"Parker, Ron" wrote:
> ...
> This just leaves one link error that I do not have time to resolve
> right now:
>
> /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../ \
> i686-pc-cygwin/lib/libmin
> gw32.a(main.o)(.text+0x8f):main.c: undefined reference to `WinMain@16'
> collect2: ld returned 1 exit status
> I searched the list, but the "-Wl,-u,WinMain@16" solution that was
> previously mentioned by Mumit Khan does not seem to work in this case.
> He is unavailable until mid-month and I am just trying to fill in
> where I can while I am waiting on computers at work.
We already have a solution to this problem. Thanks! (We basically add a
WinMain() to our library which calls main(). Doesn't work properly when the
library is built as a DLL though because Windows is shared-library
challenged apparently).
> > Also, what happens if I want to use the math library in my app?
>
> When you compile with the -mno-cygwin switch it picks up the math
> routines automatically from crtldll.dll via -lcrtldll.
OK, I can get rid of "-lm" in the configure script for the Cygwin target.
These workarounds might work if I specify the C++ compile command
explicitely to configure. Not as nice as it just plain working, but maybe
doable.
Thanks,
Carl Thompson
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
next parent reply other threads:[~2000-06-06 11:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20000606170446.97480803A@carlthompson.net>
2000-06-06 11:48 ` Carl Thompson [this message]
2000-06-06 10:00 Parker, Ron
[not found] <20000605223940.20829803A@carlthompson.net>
2000-06-05 18:20 ` Carl Thompson
2000-06-05 18:37 ` Chris Faylor
2000-06-05 18:42 ` Carl Thompson
-- strict thread matches above, loose matches on Subject: below --
2000-06-05 15:35 Parker, Ron
[not found] <20000605175626.9DCBC803A@carlthompson.net>
2000-06-05 14:57 ` Carl Thompson
2000-06-05 10:52 Parker, Ron
2000-06-04 22:37 Carl Thompson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=393D48A9.E0390C6A@carlthompson.net \
--to=cet@carlthompson.net \
--cc=cygwin@sourceware.cygnus.com \
--cc=rdparker@butlermfg.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).