delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/11/08:26:57

X-Spam-Check-By: sourceware.org
Message-ID: <F1B0448BE7E53A49AF81E306BE4AB92301BFCEDB@kwisrv3.kwi.intra.kyocera-wireless.com>
From: Nitin Mathur <nitinm AT kyocera-wireless DOT com>
To: cygwin AT cygwin DOT com
Subject: Need Help
Date: Sat, 11 Feb 2006 18:56:40 +0530
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi,,

I am sorry for sending the previous post without any message. It was sent by
mistake.

I am facing a small problem. I have gcc 2.95 installed on my machine. I
cannot download the latest version or any other version of cygwin and gcc
because these are my company requirements. I have to work on this version of
gcc

When I try to compile any cpp file, the linker throws an error "cannot find
-lstdc++".

I tried to search the complete cygwin directory for the library. I could
find "libstdc++.a.2.10.0". I tried to rename this as stdc++.a but failed in
my attempt to get the file linked.

Can anybody help me in this regard ? I shall be really grateful.

I have attached the error message below the mail. 

Best regards,
Nitin Mathur,

C:\TEMP>g++ c3.cpp -Wall 
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-6/../../../../i686-pc-cygwin/bin/ld:
cannot find -lstdc++
collect2: ld returned 1 exit status

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019