<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[gcc kann Win32-Programme ohne WinMain kompilieren - warum?]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich benutze den gcc-3.4 unter Windows (MinGW). Spasseshalber habe ich probiert ein Windows-Programm ohne WinMain zu kopmilieren. Und es hat geklappt. Ich habe eine normale main-Funktion geschrieben:</p>
<pre><code class="language-cpp">int main(int argc, char* argv[])
</code></pre>
<p>Mit dem VC 6.0 bekomme bei diesem Versuch einen Linker-Fehler (&quot;unaufgelöstest Symbol _WinMain ... oder so ähnlich. Kann mir vielleicht jemand das erklären? Danke.</p>
<p>Sepp</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/102250/gcc-kann-win32-programme-ohne-winmain-kompilieren-warum</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 03:30:12 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/102250.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 23 Feb 2005 22:15:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to gcc kann Win32-Programme ohne WinMain kompilieren - warum? on Wed, 23 Feb 2005 22:15:16 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich benutze den gcc-3.4 unter Windows (MinGW). Spasseshalber habe ich probiert ein Windows-Programm ohne WinMain zu kopmilieren. Und es hat geklappt. Ich habe eine normale main-Funktion geschrieben:</p>
<pre><code class="language-cpp">int main(int argc, char* argv[])
</code></pre>
<p>Mit dem VC 6.0 bekomme bei diesem Versuch einen Linker-Fehler (&quot;unaufgelöstest Symbol _WinMain ... oder so ähnlich. Kann mir vielleicht jemand das erklären? Danke.</p>
<p>Sepp</p>
]]></description><link>https://www.c-plusplus.net/forum/post/731100</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/731100</guid><dc:creator><![CDATA[bindeinfreund]]></dc:creator><pubDate>Wed, 23 Feb 2005 22:15:16 GMT</pubDate></item><item><title><![CDATA[Reply to gcc kann Win32-Programme ohne WinMain kompilieren - warum? on Wed, 23 Feb 2005 22:18:31 GMT]]></title><description><![CDATA[<p>Bei MinGW brauch man ja auch gar nicht angeben was man haben will. Der nimmt dann einfach das erste was er findet. Bzw. falls keine main vorhanden ist sucht er nach WinMain.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/731103</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/731103</guid><dc:creator><![CDATA[hmmmmmmmmm]]></dc:creator><pubDate>Wed, 23 Feb 2005 22:18:31 GMT</pubDate></item><item><title><![CDATA[Reply to gcc kann Win32-Programme ohne WinMain kompilieren - warum? on Thu, 24 Feb 2005 06:28:31 GMT]]></title><description><![CDATA[<p>@bindeinfreund: Bitte poste den Compileraufruf (ganze Kommandozeile), damit alle erfahren, wie du das geschafft hast. Bist du dir sicher, dass du eine Windows-<br />
(Win32-GUI-) Anwendung kompiliert hast ?</p>
<p>Mit freundlichen Grüßen</p>
<p>Dev-C++-User</p>
]]></description><link>https://www.c-plusplus.net/forum/post/731193</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/731193</guid><dc:creator><![CDATA[Dev-C++-User]]></dc:creator><pubDate>Thu, 24 Feb 2005 06:28:31 GMT</pubDate></item><item><title><![CDATA[Reply to gcc kann Win32-Programme ohne WinMain kompilieren - warum? on Thu, 24 Feb 2005 11:12:22 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<pre><code>gcc -o test.exe test.cpp -mwindows
</code></pre>
<p>Ich habe den neuesten Compiler von <a href="http://www.mingw.org" rel="nofollow">www.mingw.org</a>.</p>
<p>Gruß</p>
]]></description><link>https://www.c-plusplus.net/forum/post/731382</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/731382</guid><dc:creator><![CDATA[bindeinfreund]]></dc:creator><pubDate>Thu, 24 Feb 2005 11:12:22 GMT</pubDate></item></channel></rss>