From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15979 invoked by alias); 13 Jun 2007 13:01:39 -0000 Received: (qmail 15963 invoked by uid 22791); 13 Jun 2007 13:01:37 -0000 X-Spam-Check-By: sourceware.org Received: from an-out-0708.google.com (HELO an-out-0708.google.com) (209.85.132.250) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 13 Jun 2007 13:01:35 +0000 Received: by an-out-0708.google.com with SMTP id c3so39203ana for ; Wed, 13 Jun 2007 06:01:33 -0700 (PDT) Received: by 10.100.228.6 with SMTP id a6mr313720anh.1181739693305; Wed, 13 Jun 2007 06:01:33 -0700 (PDT) Received: by 10.100.4.5 with HTTP; Wed, 13 Jun 2007 06:01:33 -0700 (PDT) Message-ID: Date: Wed, 13 Jun 2007 21:35:00 -0000 From: me22 To: NightStrike Subject: Re: GCC vs G++ Cc: "Ian Lance Taylor" , Dhiraj.Nilange@iflexsolutions.com, gcc-help@gcc.gnu.org, "Gregg D. Gramatges" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <34C93EFE33190745869639BBB18AE4A6966895@BLR-MSG-01.i-flex.com> X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2007-06/txt/msg00178.txt.bz2 On 12/06/07, NightStrike wrote: > So the way I read this is that I *could* use gcc for compiling .cpp > files that use c++ libraries, correct? It never seems to work, even > for a simple "Hello, world." > On my platform, gcc some_c++_file.cpp -lstdc++ seems to behave the same as g++ some_c++_file.cpp I don't know why one would want to use the prior, however. ~ Scott