From owner-freebsd-questions@FreeBSD.ORG Mon Aug 31 13:28:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F3FF1065693 for ; Mon, 31 Aug 2009 13:28:47 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from mail-gx0-f227.google.com (mail-gx0-f227.google.com [209.85.217.227]) by mx1.freebsd.org (Postfix) with ESMTP id 3FE508FC16 for ; Mon, 31 Aug 2009 13:28:46 +0000 (UTC) Received: by gxk27 with SMTP id 27so5312199gxk.12 for ; Mon, 31 Aug 2009 06:28:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=vMIDpRvjlGJsUNUQsjEFAp/6AiK/9JTjuO84ba7gMIo=; b=kU1h6s9wESj2yC0xWAcjvpEyxyM1R6+TPHw7M2A/q2XXfY662X+07Ue8RaL1FCOrUw RRkH7Fhku5KCO+7TaS2J0YxkXdJB4WhMNdkguZvY/UU0d2dPFnhWE331YGwmx/kbPObt 3aphk7yKdaV5MckhB1tikaZ2QDYHpXpMMuGMw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=rlrdWyEB7wBlJR8gVRCiZw42vuGXzXI/mmV8ed6tdVEX2UyhdcHFiNRawqkvGUeP3W Q2PQlS4Kzz1OqWWPi2KxeWXLxkQsYqpGitBp2a0cUtdN2pMNHcEq6woKbNJ3ecuZ5npa 45qThX5sV21zK0WKFmGt+47J7QbHXFhDXyc38= MIME-Version: 1.0 Received: by 10.150.243.13 with SMTP id q13mr6434119ybh.167.1251725324792; Mon, 31 Aug 2009 06:28:44 -0700 (PDT) Date: Mon, 31 Aug 2009 09:28:44 -0400 Message-ID: <80f4f2b20908310628p5129acc1qdb98311136bb716e@mail.gmail.com> From: Jim To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: 32 bit ports on an AMD64 system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 13:28:47 -0000 I want to compile some 32 bit ports on an AMD64 system. I know the GCC has to receive the -m32 flag to compile the ports as 32 bit, but I also want to change the install directory with 32 bit ports, I was wondering which would be the most appropriate root given unix themes and standard FreeBSD directory structure. /usr/local/[same-as-before]-32 (i.e. [...]/bin32, [...]/lib32, [...]/libexec32, etc) /usr/32/ /usr/32bit/ /usr/FreeBSD32/ /usr/compat/32bit/ /usr/compat/FreeBSD32/ Also, would I be able to pass the appropriate flags through port upgrade (or use environmental variables), or would I have to make duplicates of the port directories and modify the makefiles? Thanks, -Jim Stapleton