From owner-freebsd-hackers Fri Apr 3 09:32:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA05189 for freebsd-hackers-outgoing; Fri, 3 Apr 1998 09:32:02 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from coleridge.kublai.com (coleridge.kublai.com [207.96.1.116]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA05149 for ; Fri, 3 Apr 1998 09:31:49 -0800 (PST) (envelope-from shmit@coleridge.kublai.com) Received: (from shmit@localhost) by coleridge.kublai.com (8.8.8/8.8.8) id MAA23198; Fri, 3 Apr 1998 12:31:23 -0500 (EST) (envelope-from shmit) Message-ID: <19980403123121.27368@kublai.com> Date: Fri, 3 Apr 1998 12:31:21 -0500 From: Brian Cully To: Tim Vanderhoek , Chuck Robey Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Objective C rules for /usr/share/mk Reply-To: shmit@kublai.com Mail-Followup-To: Tim Vanderhoek , Chuck Robey , freebsd-hackers@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: ; from Tim Vanderhoek on Thu, Apr 02, 1998 at 06:02:13PM -0500 X-Sender: If your mailer pays attention to this, it's broken. X-PGP-Info: finger shmit@kublai.com for my public key. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Apr 02, 1998 at 06:02:13PM -0500, Tim Vanderhoek wrote: > I thought it was an installed part of gcc, actually (compiling a > simple .m file works, at least :). Regardless, a well-written > patch should make using other compilers as simple as defining a > few vars. The way my patches are structured, you can set ${OBJC} to be whatever compiler you want. There is a problem in that in bsd.prog.mk, I have it set LDADD+=-lobjc if there are .m files in the sources. It wouldn't be too hard to set that to ${LIBOBJC} if bsd.libnames.mk is included in the default case (which, if I'm reading bsd.prog.mk right, it should be once we transition to ELF). -bjc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message