From owner-freebsd-questions@FreeBSD.ORG Thu Aug 7 19:31:22 2008 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 F345210656C8 for ; Thu, 7 Aug 2008 19:31:22 +0000 (UTC) (envelope-from ml@netfence.it) Received: from parrot.aev.net (parrot.aev.net [212.31.247.179]) by mx1.freebsd.org (Postfix) with ESMTP id 7FB558FC1E for ; Thu, 7 Aug 2008 19:31:22 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.ventu (adsl-ull-34-20.51-151.net24.it [151.51.20.34]) (authenticated bits=128) by parrot.aev.net (8.14.2/8.14.2) with ESMTP id m77JVBwB029771 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 7 Aug 2008 21:31:17 +0200 (CEST) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.2/8.14.2) with ESMTP id m77JWAO1060008; Thu, 7 Aug 2008 21:32:11 +0200 (CEST) (envelope-from ml@netfence.it) Message-ID: <489B4D7F.1040406@netfence.it> Date: Thu, 07 Aug 2008 21:31:11 +0200 From: Andrea Venturoli User-Agent: Thunderbird 2.0.0.16 (X11/20080727) MIME-Version: 1.0 To: Kris Kennaway References: <26ddd1750808071055i2b9976b3i4f347407d94a0813@mail.gmail.com> <489B3909.6080702@FreeBSD.org> In-Reply-To: <489B3909.6080702@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 212.31.247.179 Cc: FreeBSD Questions Subject: Mixing 64 and 32-bit code (was: Linking amd64 binary with a 32-bit linux library) 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: Thu, 07 Aug 2008 19:31:23 -0000 Kris Kennaway ha scritto: > You can't mix and match Linux and FreeBSD code in the same binary. Sorry for stepping in, but I have a similar question I asked in the past and didn't get any answer: is it possible to mix and match 32-bit and 64-bit FreeBSD code? I have a closed source 32-bit library which I'd like to link to on a 64-bit system... bye & Thanks av.