From: chris AT actrix DOT gen DOT nz ("Chris Double") Subject: Re: Embarassing question on linking 26 May 1997 12:18:01 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <199705261133.XAA28921.cygnus.gnu-win32@atlantis.actrix.gen.nz> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook Express 4.71.0544.0 Original-To: X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE Engine V4.71.0544.0 Original-Sender: owner-gnu-win32 AT cygnus DOT com >gcc.exe: Internal compiler error: program ld got fatal signal 1 >make: *** [hellopp.exe] Error 1 > >Now under hello.c, I have no errors, I'm guessing that I need to do >something to link the correct libraries which are needed under (G)C++, >and were included by default under GCC (ansi). You need to link against the stdc++ library. I used your source code and saved it as hello.cpp. The following line compiled and created the executable a.exe: gcc hello.cpp -lstdc++ Regards, Chris Double. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".