From owner-freebsd-ports@FreeBSD.ORG Fri Jun 9 18:45:31 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 D50AD16A41F; Fri, 9 Jun 2006 18:45:31 +0000 (UTC) (envelope-from vd@datamax.bg) Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6818243D70; Fri, 9 Jun 2006 18:45:31 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from qlovarnika.bg.datamax (qlovarnika.bg.datamax [192.168.10.2]) by jengal.datamax.bg (Postfix) with SMTP id A044FB833; Fri, 9 Jun 2006 21:45:30 +0300 (EEST) Received: (nullmailer pid 1693 invoked by uid 1002); Fri, 09 Jun 2006 18:45:30 -0000 Date: Fri, 9 Jun 2006 21:45:30 +0300 From: Vasil Dimov To: Jona Joachim Message-ID: <20060609184530.GB1615@qlovarnika.bg.datamax> References: <44885E00.2000606@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aM3YZ0Iwxop3KEKx" Content-Disposition: inline In-Reply-To: <44885E00.2000606@gmail.com> X-OS: FreeBSD 6.1-STABLE User-Agent: Mutt/1.5.11 Cc: freebsd-ports@FreeBSD.org Subject: Re: make "make" ignore build errors X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vd@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jun 2006 18:45:31 -0000 --aM3YZ0Iwxop3KEKx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 08, 2006 at 07:27:28PM +0200, Jona Joachim wrote: > Hi! >=20 > 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? >=20 You certainly do not want this! It will ignore not just this error but also any other errors that may occur. I would suggest that you patch the software's Makefile to skip the unnecessary part of the build. --=20 Vasil Dimov gro.DSBeerF@dv Testing can show the presence of bugs, but not their absence. -- Edsger W. Dijkstra --aM3YZ0Iwxop3KEKx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQFEicHKFw6SP/bBpCARAmuUAJwJVYGwYz+Lj087XUi6k3sIOayc7QCdHZvZ 1MlllT08KJibXtb7VoB47wU= =QnXn -----END PGP SIGNATURE----- --aM3YZ0Iwxop3KEKx--