X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Wed, 12 Jul 2006 10:21:57 -0400 Message-Id: <200607121421.k6CELvd8014228@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <44b4be6e$0$493$cc7c7865@news.luth.se> (message from Martin Str|mberg on 12 Jul 2006 09:18:38 GMT) Subject: Re: undefined reference References: <1152663563 DOT 566365 DOT 26490 AT i42g2000cwa DOT googlegroups DOT com> <200607120034 DOT k6C0YMxe009932 AT envy DOT delorie DOT com> <44b4be6e$0$493$cc7c7865 AT news DOT luth DOT se> Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Wouldn't that filename make even gcc to compile it as C++. Well, they're missing the C++ runtime libraries, which implies they're using the C compiler to link C++ programs. That usually doesn't work.