From owner-freebsd-ports@FreeBSD.ORG Thu Jun 8 21:30:55 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C62C016C9F3 for ; Thu, 8 Jun 2006 17:27:34 +0000 (UTC) (envelope-from jona.joachim@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2489543D46 for ; Thu, 8 Jun 2006 17:27:33 +0000 (GMT) (envelope-from jona.joachim@gmail.com) Received: by nf-out-0910.google.com with SMTP id y38so386268nfb for ; Thu, 08 Jun 2006 10:27:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=hUZ5b5kHaC4SyjqvXqFdOGn/AkVLZAEmOlIo0GHaH0nDBCTAOis7ctq/OC6tvPsxtRYbq7ko7ShPFISUHX5DTdtSHPxatNVUH0qzl5ykS+dS/5QXPU47TBf+VCUPSN53x7Cf2NpIBTcuwlkKJxfi6R5XUqBKUzAJKX7r3lD3rS0= Received: by 10.49.36.15 with SMTP id o15mr1675409nfj; Thu, 08 Jun 2006 10:27:32 -0700 (PDT) Received: from ?10.0.0.11? ( [83.99.30.37]) by mx.gmail.com with ESMTP id x1sm2314421nfb.2006.06.08.10.27.31; Thu, 08 Jun 2006 10:27:32 -0700 (PDT) Message-ID: <44885E00.2000606@gmail.com> Date: Thu, 08 Jun 2006 19:27:28 +0200 From: Jona Joachim User-Agent: Thunderbird 1.5.0.4 (X11/20060607) MIME-Version: 1.0 To: freebsd-ports@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: make "make" ignore build errors X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jun 2006 21:30:55 -0000 Hi! I wanted to know if it is possible to tell "make" that it should ignore when an error occurs in the building process. I'm the maintainer of the devel/tigcc port which is a collection of tools to build binaries for the Texas Instruments graphing calculators which run on Motorola 68k processors. The main part of this collection is actually a patched gcc built for m68k-coff. Building gcc 4.0.2 (the version supported by the latest tigcc) for 68k will always fail because it will try to build stuff for m68k using the GNU AS which it finds in the path, which will not support the 68k platform in most cases: "as: unrecognized option `-mc68020'" This isn't fatal however because when this point is reached in the Makefile everything that is needed is already built and everything that follows is not needed. I know that this is a dirty hack but there is no other trivial way. Is there a way to ignore this error and resume the build process for the other tools? Jona