From owner-freebsd-ports Sun Oct 4 20:48:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA21976 for freebsd-ports-outgoing; Sun, 4 Oct 1998 20:48:10 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from vader.cs.berkeley.edu (vader.CS.Berkeley.EDU [128.32.38.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA21891; Sun, 4 Oct 1998 20:47:44 -0700 (PDT) (envelope-from asami@sunrise.cs.berkeley.edu) Received: from bubble.didi.com (sji-ca11-102.ix.netcom.com [209.109.237.102]) by vader.cs.berkeley.edu (8.8.7/8.7.3) with ESMTP id UAA15488; Sun, 4 Oct 1998 20:47:18 -0700 (PDT) Received: (from asami@localhost) by bubble.didi.com (8.8.8/8.8.8) id UAA00818; Sun, 4 Oct 1998 20:47:12 -0700 (PDT) (envelope-from asami) Date: Sun, 4 Oct 1998 20:47:12 -0700 (PDT) Message-Id: <199810050347.UAA00818@bubble.didi.com> To: jkoshy@hub.freebsd.org CC: ports@FreeBSD.ORG In-reply-to: <199810031152.EAA02462@hub.freebsd.org> (message from Joseph Koshy on Sat, 3 Oct 1998 04:52:08 -0700 (PDT)) Subject: Re: ELF transition for ports (revised) From: asami@FreeBSD.ORG (Satoshi Asami) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * I'm not still sure how to handle ports that require different patches to * be applied when compiling for ELF vs when compiling for AOUT. Typically * these ports will be attempting to optimize for the machine architecture * by writing performance critical portions of the code in assembly. * (Eg:- look at audio/mpg123 or lang/caml-light or graphics/xaos). * * The problem is that we need to apply slightly different patches in these * cases in order to handle the leading underscore problem. Can't you just use #ifdef? Satoshi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message