From owner-freebsd-ports@FreeBSD.ORG Sat Jun 10 17:04:05 2006 Return-Path: X-Original-To: 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 83C9916A47B for ; Sat, 10 Jun 2006 17:04:05 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E0414671D for ; Sat, 10 Jun 2006 17:03:59 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 6FD4E1A3C22; Sat, 10 Jun 2006 10:03:59 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id B546C5155B; Sat, 10 Jun 2006 13:03:58 -0400 (EDT) Date: Sat, 10 Jun 2006 13:03:58 -0400 From: Kris Kennaway To: Jona Joachim Message-ID: <20060610170358.GA39497@xor.obsecurity.org> References: <44885E00.2000606@gmail.com> <20060609184530.GB1615@qlovarnika.bg.datamax> <448AA65C.2020707@web.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9jxsPFA5p3P2qPhR" Content-Disposition: inline In-Reply-To: <448AA65C.2020707@web.de> User-Agent: Mutt/1.4.2.1i Cc: ports@freebsd.org Subject: Re: 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: Sat, 10 Jun 2006 17:04:05 -0000 --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 10, 2006 at 01:00:44PM +0200, Jona Joachim wrote: > Vasil Dimov wrote: > > On Thu, Jun 08, 2006 at 07:27:28PM +0200, Jona Joachim wrote: > >> 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 t= he > >> other tools? > >> > > 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 > Hi! > The problem is that the Makefile that causes the problem is only > generated during the make process. I would have to patch the files that > generate this Makefile. Yes. Kris --9jxsPFA5p3P2qPhR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEivt+Wry0BWjoQKURAqEYAJ9ugeitAA9vfnbzFenpRmtc9otMYQCeP6kp zNUp/8DBWsAeh4CZJclQDlU= =Fuz/ -----END PGP SIGNATURE----- --9jxsPFA5p3P2qPhR--