* g++ compile trouble
@ 2000-03-23 10:31 Giles Mark W DLPC
0 siblings, 0 replies; 3+ messages in thread
From: Giles Mark W DLPC @ 2000-03-23 10:31 UTC (permalink / raw)
To: cygwin
when trying to compile a c++ program, i get a message: "undefined reference
to 'WinMain@16'. any ideas for a fix??
mark
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: g++ compile trouble
[not found] <46C4B6317A40D3118A510000F809433C0271D272@dlpcexch01.ncsc.navy.mil>
@ 2000-03-23 12:16 ` John Fortin
0 siblings, 0 replies; 3+ messages in thread
From: John Fortin @ 2000-03-23 12:16 UTC (permalink / raw)
To: cygwin
Giles Mark W DLPC wrote:
> john,
> is used the command: g++ -Wall Team.cc -o Team.exe
>
> mark
>
Is this a "windows" program or a console program. Does it use WinMain or main?
You might also check the mail archives at : http://www.delorie.com/archives/
to see if there are any similar problems.
John
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: g++ compile trouble
@ 2000-03-23 10:41 John Fortin
0 siblings, 0 replies; 3+ messages in thread
From: John Fortin @ 2000-03-23 10:41 UTC (permalink / raw)
To: cygwin
Giles Mark W DLPC wrote:
> when trying to compile a c++ program, i get a message: "undefined reference
> to 'WinMain@16'. any ideas for a fix??
>
And you compiled this how?? Usually it helps to see the command you
used to
get the error.
Did you use -mwindows, or other options. The more information you give,
the
better answer you will get.
John
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-03-23 12:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-23 10:31 g++ compile trouble Giles Mark W DLPC
2000-03-23 10:41 John Fortin
[not found] <46C4B6317A40D3118A510000F809433C0271D272@dlpcexch01.ncsc.navy.mil>
2000-03-23 12:16 ` John Fortin
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).