From owner-freebsd-questions@FreeBSD.ORG Sun Mar 27 08:44:40 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F258B16A4CE for ; Sun, 27 Mar 2005 08:44:39 +0000 (GMT) Received: from nagual.st (cc20684-a.assen1.dr.home.nl [82.74.2.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16FF343D62 for ; Sun, 27 Mar 2005 08:44:39 +0000 (GMT) (envelope-from dick@nagual.st) Received: from lothlorien.nagual.st (lothlorien.nagual.st [192.168.11.1]) by nagual.st with esmtp; Sun, 27 Mar 2005 10:44:38 +0200 Date: Sun, 27 Mar 2005 10:44:38 +0200 From: dick hoogendijk To: freebsd-questions@freebsd.org Message-Id: <20050327104438.2d782f9e.dick@nagual.st> In-Reply-To: <20050327083632.GA6105@gothmog.gr> References: <20050326152442.GA11610@pooh.nagual.st> <20050326230005.GB96971@xor.obsecurity.org> <20050327082121.GA9615@lothlorien.nagual.st> <20050327083632.GA6105@gothmog.gr> Organization: nagual.st X-Mailer: Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-portbld-freebsd4.11) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: gcc error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Mar 2005 08:44:40 -0000 On Sun, 27 Mar 2005 11:36:32 +0300 Giorgos Keramidas wrote: > On 2005-03-27 10:21, Dick Hoogendijk wrote: > >>> "c++: cannot specify -o with -c or -S and multiple compilations" > >>> The same error happens sometimes with 'cc' > >> > >> Show us the full error, not a context-free excerpt. > > > > Sure I want to do that. But I'm bit of an novice. How can I grep > > those errors on screen to a file? > > Before you start building anything, run script(1): > > $ script > Script started, output file is typescript > $ gcc -o hello hello.c > $ exit > > Script done, output file is typescript Ah, thank you. This will go into 'notes' ;-) Starting the recompile of kdelibs3 now.. -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11 ++ FreeBSD 5.3 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja