From owner-freebsd-questions@FreeBSD.ORG Wed Oct 24 20:53:50 2007 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 7DC9416A419 for ; Wed, 24 Oct 2007 20:53:50 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.231]) by mx1.freebsd.org (Postfix) with ESMTP id 3BBF013C480 for ; Wed, 24 Oct 2007 20:53:50 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so277159wxd for ; Wed, 24 Oct 2007 13:53:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; bh=y9igI61fFj3QsUqH46C5Y2CcPTMx1yamjMTbJkn4kC4=; b=t78O0X5aYfH84lbK+B4j5jn0uAyxCyM7rdmrmHopi0FUeWpxAz6PiJ4kjQarkci5KmwrlDZNiV6nIX4Plk8hIcE5CNtTpv5KoXqMmRTfi39oiuqgZo07VRaB/kcXQcdsHTAo4aDtGhsM3xJyLcjF3c6gTmoTJBVfN7Xw0hHc3v8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=cQWrrmOkFNKiNyNN5pV6AWNqicvjR/55peJhnyxkqOrhMGgNovG1dYkHcdCTmXk5k3o8PEizH5DYm2Jq6UoJeH2waBOs/QON+80//U71Qncen8XdvZLEzzSfNEU5cvcKZLmlADa62bOjFF5SyWyELK3CB33cg9SsEUCUKK9hkqo= Received: by 10.90.105.20 with SMTP id d20mr825671agc.1193259219234; Wed, 24 Oct 2007 13:53:39 -0700 (PDT) Received: from ?192.168.2.2? ( [67.85.89.184]) by mx.google.com with ESMTPS id o27sm58446ele.2007.10.24.13.53.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 24 Oct 2007 13:53:38 -0700 (PDT) Message-ID: <471FAFD4.5090500@gmail.com> Date: Wed, 24 Oct 2007 16:49:24 -0400 From: "Aryeh M. Friedman" User-Agent: Thunderbird 2.0.0.6 (X11/20071016) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: forcing compilation/run time linking of lib32 on amd64 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: Wed, 24 Oct 2007 20:53:50 -0000 I am writing some demo code (for teaching C) and need to have the same program run on a 32 bit machine and a 64 bit machine (showing that int's are always word length)... I have 8-current amd64 how do I force it to compile with 32 bit words?